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.001872/0.001872, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001535/0.001535, allocations: 186 kB / 23.7 MB, free: 4.191 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.447/1.447, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.001684/0.001684, allocations: 51.92 kB / 370.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2287, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002449/0.2311, allocations: 1.339 MB / 424.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.2365, allocations: 3.677 MB / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.2365, allocations: 0 / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.2365, allocations: 0 / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2376, allocations: 294.9 kB / 428.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2388, allocations: 0.5159 MB / 428.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2389, allocations: 51.67 kB / 428.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.2389, allocations: 7.984 kB / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2391, allocations: 39.84 kB / 429 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007182/0.2398, allocations: 363.3 kB / 429.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2398, allocations: 4 kB / 429.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009621/0.2407, allocations: 0.5302 MB / 429.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2408, allocations: 4 kB / 429.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.2408, allocations: 23.92 kB / 429.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.2415, allocations: 437.2 kB / 430.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2415, allocations: 3.984 kB / 430.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2415, allocations: 0 / 430.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2415, allocations: 0 / 430.3 MB, free: 7.219 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.0005459/0.242, allocations: 373.3 kB / 430.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2421, allocations: 8.922 kB / 430.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2421, allocations: 8.891 kB / 430.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2423, allocations: 126.5 kB / 430.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2423, allocations: 8.375 kB / 430.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2423, allocations: 11.89 kB / 430.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2425, allocations: 67.33 kB / 430.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2425, allocations: 3.984 kB / 430.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2425, allocations: 0 / 430.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2425, allocations: 0 / 430.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.2426, allocations: 19.98 kB / 430.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.2428, allocations: 118.2 kB / 431.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.2431, allocations: 77.22 kB / 431.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.2432, allocations: 25.7 kB / 431.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.2436, allocations: 135.8 kB / 431.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2436, allocations: 30.56 kB / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2436, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003096/0.2439, allocations: 85.58 kB / 431.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.2439, allocations: 77.11 kB / 431.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2441, allocations: 121.8 kB / 431.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2441, allocations: 25.7 kB / 431.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.2441, allocations: 84.14 kB / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2442, allocations: 23.75 kB / 431.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2442, allocations: 29.7 kB / 431.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2444, allocations: 314.8 kB / 432.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.2444, allocations: 11.98 kB / 432.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.2445, allocations: 39.42 kB / 432.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2447, allocations: 59.36 kB / 432.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2447, allocations: 4 kB / 432.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002014/0.2449, allocations: 86.03 kB / 432.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2449, allocations: 10.66 kB / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2449, allocations: 0 / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2449, allocations: 0 / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.245, allocations: 23.92 kB / 432.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.245, allocations: 0 / 432.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.245, allocations: 7.953 kB / 432.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.245, allocations: 0 / 432.3 MB, free: 5.023 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 8.168e-05/0.2451, allocations: 117.8 kB / 432.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2451, allocations: 11.92 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.2455, allocations: 127.9 kB / 432.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2455, allocations: 3.984 kB / 432.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2455, allocations: 0 / 432.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2455, allocations: 0 / 432.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2456, allocations: 121.2 kB / 432.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2456, allocations: 0 / 432.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.2457, allocations: 15.94 kB / 432.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2457, allocations: 7.938 kB / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2458, allocations: 11.98 kB / 432.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2458, allocations: 4 kB / 432.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2458, allocations: 3.938 kB / 432.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.2461, allocations: 137.9 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.2461, allocations: 15.86 kB / 432.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2461, allocations: 4 kB / 432.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.2462, allocations: 3.938 kB / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2462, allocations: 7.984 kB / 432.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2462, allocations: 4 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.2463, allocations: 91.33 kB / 433 MB, free: 4.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2463, allocations: 4 kB / 433 MB, free: 4.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.2467, allocations: 131.5 kB / 433.1 MB, free: 4.148 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.0006004/0.2473, allocations: 289.4 kB / 433.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2475, allocations: 47.91 kB / 433.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2475, allocations: 0 / 433.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.2476, allocations: 28.05 kB / 433.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.2477, allocations: 19.94 kB / 433.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.2483, allocations: 302.9 kB / 433.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.2483, allocations: 71.33 kB / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.2484, allocations: 23.73 kB / 433.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.2484, allocations: 19.42 kB / 433.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2484, allocations: 0 / 433.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of Templates: time 0.006984/0.2554, allocations: 3.086 MB / 437 MB, free: 276 kB / 334.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.484362952411175] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.26409052684903145 0.278559548 0.033958524000000004 Calling exit ...