Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 53.41 MB / 431.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002506/0.2287, allocations: 1.351 MB / 433.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.2339, allocations: 3.725 MB / 437 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.234, allocations: 0 / 437 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.234, allocations: 3.938 kB / 437 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.235, allocations: 290.9 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2362, allocations: 0.5244 MB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.2362, allocations: 51.72 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.2363, allocations: 8 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.2364, allocations: 35.84 kB / 437.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.2371, allocations: 375.3 kB / 438.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2371, allocations: 0 / 438.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/0.2381, allocations: 0.5537 MB / 438.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2381, allocations: 3.938 kB / 438.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2381, allocations: 23.91 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.2388, allocations: 441.4 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2388, allocations: 0 / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2388, allocations: 3.938 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2388, allocations: 0 / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005294/0.2393, allocations: 377.2 kB / 439.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2394, allocations: 8.031 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.268e-05/0.2394, allocations: 4.188 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.2394, allocations: 34.73 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2395, allocations: 4.938 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2396, allocations: 134.5 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2397, allocations: 7.938 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2397, allocations: 4 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2398, allocations: 67.33 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2398, allocations: 0 / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2399, allocations: 0 / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2399, allocations: 0 / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.2399, allocations: 15.98 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2401, allocations: 141.6 kB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2404, allocations: 81.12 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.2405, allocations: 29.77 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.2408, allocations: 115.9 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2408, allocations: 34.56 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2408, allocations: 0 / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002809/0.2411, allocations: 85.55 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2412, allocations: 85.09 kB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2413, allocations: 109.8 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2413, allocations: 29.7 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2413, allocations: 84.14 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.2414, allocations: 27.8 kB / 440.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.2414, allocations: 21.7 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2416, allocations: 314.8 kB / 441 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.2416, allocations: 15.98 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.2417, allocations: 35.42 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2418, allocations: 63.67 kB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2418, allocations: 0 / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002012/0.242, allocations: 93.53 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.242, allocations: 4 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.242, allocations: 3.938 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.242, allocations: 4 kB / 441.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.2421, allocations: 23.92 kB / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2421, allocations: 0 / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.2422, allocations: 4 kB / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2422, allocations: 4 kB / 441.3 MB, free: 12.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.2423, allocations: 113.8 kB / 441.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.2423, allocations: 15.89 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.2426, allocations: 128.8 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2427, allocations: 0 / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2427, allocations: 7.984 kB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2427, allocations: 0 / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2428, allocations: 144.7 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2428, allocations: 0 / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.2429, allocations: 19.92 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2429, allocations: 4 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2429, allocations: 4 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2429, allocations: 0 / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2429, allocations: 0 / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.2432, allocations: 141.8 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2432, allocations: 15.97 kB / 441.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2433, allocations: 0 / 441.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.2433, allocations: 7.984 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.2433, allocations: 8 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.2433, allocations: 7.984 kB / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.397e-05/0.2434, allocations: 87.28 kB / 442 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2434, allocations: 0 / 442 MB, free: 12.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2438, allocations: 139.5 kB / 442.1 MB, free: 12.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.2448, allocations: 0.8511 MB / 443 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.245, allocations: 43.97 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.245, allocations: 0 / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.2451, allocations: 31.91 kB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2453, allocations: 15.5 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.247, allocations: 1.537 MB / 444.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.2471, allocations: 75.33 kB / 444.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.2472, allocations: 23.59 kB / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.2472, allocations: 31.36 kB / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2472, allocations: 0 / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.2739, allocations: 4.613 MB / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.96, allocations: 15.91 kB / 449.3 MB, free: 4.797 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.337330018985085] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.117337525938638 11.140356784 10.89661552 Calling exit ...