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.001912/0.001912, allocations: 88.44 kB / 20.68 MB, free: 1.02 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.002269/0.002269, allocations: 162.1 kB / 23.95 MB, free: 4.148 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.49/1.49, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.278e-05, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/3.72e-05, allocations: 3.469 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002173/0.00221, allocations: 1.345 MB / 326.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.007863, allocations: 3.739 MB / 330.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.007894, allocations: 0 / 330.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.00792, allocations: 5.812 kB / 330.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.009163, allocations: 303.3 kB / 330.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.0106, allocations: 0.515 MB / 330.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.0107, allocations: 65.34 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.01073, allocations: 5.844 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.01088, allocations: 40.61 kB / 331 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.01167, allocations: 373.5 kB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.01169, allocations: 1.125 kB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.01274, allocations: 0.5349 MB / 331.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.01277, allocations: 22.22 kB / 331.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.0128, allocations: 9.5 kB / 331.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008383/0.01364, allocations: 493.7 kB / 332.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01364, allocations: 0 / 332.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01364, allocations: 1.094 kB / 332.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.01365, allocations: 0 / 332.4 MB, free: 11.84 MB / 302.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.0005651/0.01421, allocations: 371.2 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.01425, allocations: 13.08 kB / 332.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.01429, allocations: 7.734 kB / 332.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.01449, allocations: 129.6 kB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.01451, allocations: 5.438 kB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.01453, allocations: 2.594 kB / 332.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.0147, allocations: 71.7 kB / 333 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01471, allocations: 1.094 kB / 333 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01472, allocations: 0 / 333 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.01472, allocations: 1.125 kB / 333 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.01482, allocations: 26.72 kB / 333 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.01499, allocations: 110.9 kB / 333.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.01529, allocations: 86.5 kB / 333.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.01536, allocations: 25.25 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.01576, allocations: 125.3 kB / 333.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.01579, allocations: 32.06 kB / 333.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.01579, allocations: 0 / 333.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003143/0.0161, allocations: 88.45 kB / 333.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.01617, allocations: 78.39 kB / 333.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01628, allocations: 121.5 kB / 333.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.0163, allocations: 25.7 kB / 333.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.01634, allocations: 90.7 kB / 333.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.01638, allocations: 26.33 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.01643, allocations: 24.16 kB / 333.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.01659, allocations: 316.1 kB / 334.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.01666, allocations: 11.69 kB / 334.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.01674, allocations: 42.77 kB / 334.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.0169, allocations: 56.25 kB / 334.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01691, allocations: 5.094 kB / 334.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.01714, allocations: 85.09 kB / 334.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01715, allocations: 5.875 kB / 334.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.01716, allocations: 5.188 kB / 334.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01718, allocations: 0.9375 kB / 334.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.01726, allocations: 20.2 kB / 334.4 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01727, allocations: 2.188 kB / 334.4 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.01732, allocations: 5.844 kB / 334.4 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01733, allocations: 2.781 kB / 334.4 MB, free: 10 MB / 302.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 9.733e-05/0.01743, allocations: 117.9 kB / 334.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.01745, allocations: 6.797 kB / 334.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.01787, allocations: 132.2 kB / 334.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.01788, allocations: 1.188 kB / 334.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01788, allocations: 1.25 kB / 334.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.0179, allocations: 5.141 kB / 334.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01804, allocations: 116.2 kB / 334.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01804, allocations: 0 / 334.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.01813, allocations: 18.58 kB / 334.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.01813, allocations: 1.062 kB / 334.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01815, allocations: 1.719 kB / 334.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.01815, allocations: 3.938 kB / 334.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01815, allocations: 1.5 kB / 334.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.01849, allocations: 148.7 kB / 335 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.01852, allocations: 14.78 kB / 335 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01854, allocations: 2.125 kB / 335 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.01859, allocations: 9.016 kB / 335 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.01863, allocations: 7.234 kB / 335 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01864, allocations: 6.312 kB / 335 MB, free: 9.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.0187, allocations: 87.09 kB / 335.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0187, allocations: 0 / 335.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004835/0.01919, allocations: 140.5 kB / 335.2 MB, free: 9.371 MB / 302.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.0006269/0.01981, allocations: 296.4 kB / 335.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.02002, allocations: 48.23 kB / 335.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02002, allocations: 0 / 335.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.02011, allocations: 29.05 kB / 335.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.02032, allocations: 16.58 kB / 335.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.02082, allocations: 236.4 kB / 335.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.02089, allocations: 68.31 kB / 335.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.499e-05/0.02097, allocations: 37.06 kB / 335.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.02102, allocations: 19.89 kB / 335.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.02102, allocations: 1.438 kB / 335.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of Templates: time 0.007805/0.02882, allocations: 3.135 MB / 339.1 MB, free: 6.664 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.46209841966629] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.03779589757323265 0.053405009 0.036582375 Calling exit ...