Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 109.5 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 188 kB / 23.71 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.91 kB / 370.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2315, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002401/0.2339, allocations: 1.367 MB / 424.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.2394, allocations: 4.035 MB / 428.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2394, allocations: 4 kB / 428.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2394, allocations: 7.922 kB / 428.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009801/0.2404, allocations: 298.9 kB / 428.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2415, allocations: 0.5049 MB / 429.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.2416, allocations: 55.66 kB / 429.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.2416, allocations: 7.797 kB / 429.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2417, allocations: 43.84 kB / 429.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.2424, allocations: 359.3 kB / 429.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2424, allocations: 4 kB / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2435, allocations: 0.6472 MB / 430.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2435, allocations: 11.98 kB / 430.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.2436, allocations: 19.88 kB / 430.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.2443, allocations: 456.3 kB / 430.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2443, allocations: 4 kB / 430.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2443, allocations: 0 / 430.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2443, allocations: 0 / 430.9 MB, free: 6.852 MB / 334.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.0005504/0.2449, allocations: 365.3 kB / 431.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2449, allocations: 12.92 kB / 431.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.245, allocations: 4.891 kB / 431.3 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2452, allocations: 138.4 kB / 431.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2452, allocations: 8.375 kB / 431.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2452, allocations: 7.891 kB / 431.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2454, allocations: 59.39 kB / 431.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2454, allocations: 0 / 431.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2454, allocations: 0 / 431.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2454, allocations: 4 kB / 431.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.2455, allocations: 23.91 kB / 431.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.2457, allocations: 149.6 kB / 431.7 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.246, allocations: 81.12 kB / 431.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.246, allocations: 21.77 kB / 431.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/0.2464, allocations: 131.8 kB / 431.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2464, allocations: 30.56 kB / 431.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.2464, allocations: 4 kB / 431.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/0.2467, allocations: 77.59 kB / 432 MB, free: 5.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.2468, allocations: 85.09 kB / 432.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2469, allocations: 113.8 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2469, allocations: 29.7 kB / 432.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.247, allocations: 80.14 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.247, allocations: 27.75 kB / 432.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2471, allocations: 21.7 kB / 432.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2472, allocations: 314.8 kB / 432.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.2473, allocations: 15.98 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.2473, allocations: 39.42 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2475, allocations: 59.73 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2475, allocations: 0 / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002148/0.2477, allocations: 93.45 kB / 432.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2477, allocations: 12.06 kB / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2477, allocations: 0 / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2477, allocations: 0 / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.2478, allocations: 15.98 kB / 432.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2478, allocations: 4 kB / 432.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.2479, allocations: 3.953 kB / 432.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2479, allocations: 11.94 kB / 432.9 MB, free: 4.613 MB / 334.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 0.0001315/0.248, allocations: 113.8 kB / 433 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.248, allocations: 4 kB / 433 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.2484, allocations: 124.4 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.2484, allocations: 7.984 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2484, allocations: 0 / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2484, allocations: 0 / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2485, allocations: 144.6 kB / 433.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2485, allocations: 3.984 kB / 433.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.2486, allocations: 16 kB / 433.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2486, allocations: 0 / 433.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2486, allocations: 0 / 433.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2486, allocations: 4 kB / 433.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2486, allocations: 0 / 433.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.249, allocations: 150.2 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.249, allocations: 19.89 kB / 433.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.249, allocations: 8.062 kB / 433.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.2491, allocations: 8 kB / 433.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.2491, allocations: 3.984 kB / 433.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2491, allocations: 4 kB / 433.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.2492, allocations: 95.33 kB / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2492, allocations: 0 / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.2496, allocations: 131.5 kB / 433.7 MB, free: 3.715 MB / 334.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.0006244/0.2502, allocations: 296.4 kB / 434 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2504, allocations: 47.91 kB / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2504, allocations: 0 / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.2505, allocations: 31.91 kB / 434.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.2507, allocations: 14.94 kB / 434.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.2512, allocations: 299.1 kB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2515, allocations: 0.6846 MB / 435.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.861e-05/0.2516, allocations: 31.03 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2516, allocations: 19.42 kB / 435.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2516, allocations: 0 / 435.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Templates: time 0.007244/0.2589, allocations: 3.047 MB / 438.2 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.4646222572773695] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.2673668162897229 0.28209749999999995 0.03467713799999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0a3ba717b0>