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.001267/0.001267, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00129/0.00129, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.383/1.383, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001475/0.001475, allocations: 43.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002417/0.2346, allocations: 1.366 MB / 422.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0054/0.24, allocations: 4.038 MB / 426.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.24, allocations: 4 kB / 426.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.2401, allocations: 0 / 426.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000981/0.241, allocations: 283 kB / 426.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2422, allocations: 0.4927 MB / 427 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2423, allocations: 51.73 kB / 427.1 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.2423, allocations: 4 kB / 427.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.2425, allocations: 43.83 kB / 427.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.2432, allocations: 359.3 kB / 427.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2432, allocations: 7.938 kB / 427.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2442, allocations: 0.6122 MB / 428.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2442, allocations: 11.98 kB / 428.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.2443, allocations: 27.8 kB / 428.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.245, allocations: 453.3 kB / 428.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.245, allocations: 0 / 428.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.245, allocations: 3.938 kB / 428.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.245, allocations: 4 kB / 428.6 MB, free: 7.379 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.0005862/0.2456, allocations: 442.4 kB / 429 MB, free: 6.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2456, allocations: 8.031 kB / 429 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.2456, allocations: 8.891 kB / 429 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2459, allocations: 184.3 kB / 429.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2459, allocations: 4.375 kB / 429.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.2459, allocations: 11.89 kB / 429.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2461, allocations: 67.33 kB / 429.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2461, allocations: 0 / 429.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2461, allocations: 7.938 kB / 429.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2461, allocations: 0 / 429.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.2462, allocations: 15.98 kB / 429.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.2464, allocations: 174.6 kB / 429.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2467, allocations: 85.06 kB / 429.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.2467, allocations: 21.77 kB / 429.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.2479, allocations: 1.54 MB / 431.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2479, allocations: 34.56 kB / 431.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2479, allocations: 4 kB / 431.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002865/0.2482, allocations: 81.72 kB / 431.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.2483, allocations: 85.05 kB / 431.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.2484, allocations: 113.8 kB / 431.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2484, allocations: 25.7 kB / 431.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.2484, allocations: 92.12 kB / 431.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.2485, allocations: 19.75 kB / 431.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.2485, allocations: 33.7 kB / 431.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2487, allocations: 310.8 kB / 431.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.2487, allocations: 15.98 kB / 431.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.2488, allocations: 39.42 kB / 432 MB, free: 3.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2489, allocations: 59.36 kB / 432 MB, free: 3.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.249, allocations: 0 / 432 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001943/0.2491, allocations: 81.55 kB / 432.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2492, allocations: 7.984 kB / 432.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2492, allocations: 4 kB / 432.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2492, allocations: 0 / 432.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.2493, allocations: 19.94 kB / 432.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2493, allocations: 4 kB / 432.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.2493, allocations: 16 kB / 432.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2493, allocations: 7.938 kB / 432.2 MB, free: 3.172 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 9.911e-05/0.2494, allocations: 117.7 kB / 432.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.2495, allocations: 0 / 432.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.2499, allocations: 123.7 kB / 432.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2499, allocations: 0 / 432.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2499, allocations: 0 / 432.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2499, allocations: 3.938 kB / 432.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2501, allocations: 177.5 kB / 432.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2501, allocations: 3.938 kB / 432.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.2502, allocations: 15.98 kB / 432.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2502, allocations: 0 / 432.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2502, allocations: 4 kB / 432.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2502, allocations: 0 / 432.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2502, allocations: 0 / 432.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.2505, allocations: 157.8 kB / 432.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.2506, allocations: 85.45 kB / 432.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2506, allocations: 4.031 kB / 432.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.2506, allocations: 4 kB / 432.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2507, allocations: 7.984 kB / 432.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2507, allocations: 4.062 kB / 432.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.2507, allocations: 95.27 kB / 433 MB, free: 2.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2507, allocations: 0 / 433 MB, free: 2.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.2511, allocations: 127.5 kB / 433.1 MB, free: 2.152 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.0006698/0.2518, allocations: 297.4 kB / 433.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.252, allocations: 43.91 kB / 433.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.252, allocations: 128 / 433.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.2521, allocations: 36.2 kB / 433.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2523, allocations: 16.02 kB / 433.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.2528, allocations: 301.8 kB / 433.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2531, allocations: 0.6924 MB / 434.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.2532, allocations: 23.72 kB / 434.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.2532, allocations: 23.42 kB / 434.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2532, allocations: 0 / 434.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of Templates: time 0.006963/0.2602, allocations: 3.033 MB / 437.5 MB, free: 13.68 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.421709292568266]