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.001569/0.001569, allocations: 119.9 kB / 18.45 MB, free: 4.473 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.001761/0.001761, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.527/1.527, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.00148/0.00148, allocations: 51.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 52.14 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002458/0.1064, allocations: 1.369 MB / 420.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.1117, allocations: 3.996 MB / 424.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1118, allocations: 0 / 424.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.1118, allocations: 7.938 kB / 424.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009934/0.1128, allocations: 283 kB / 424.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1139, allocations: 0.4932 MB / 425.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.114, allocations: 51.72 kB / 425.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.114, allocations: 7.938 kB / 425.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1141, allocations: 47.83 kB / 425.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007232/0.1149, allocations: 351.3 kB / 425.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1149, allocations: 3.938 kB / 425.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1159, allocations: 0.6199 MB / 426.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1159, allocations: 11.92 kB / 426.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.116, allocations: 19.94 kB / 426.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.1167, allocations: 446.9 kB / 426.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1167, allocations: 0 / 426.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1167, allocations: 0 / 426.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1167, allocations: 0 / 426.6 MB, free: 4.387 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.0005697/0.1173, allocations: 450.4 kB / 427.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1173, allocations: 12.03 kB / 427.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1173, allocations: 4.891 kB / 427.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1176, allocations: 192.2 kB / 427.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1176, allocations: 4.375 kB / 427.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1176, allocations: 7.891 kB / 427.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1178, allocations: 63.39 kB / 427.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1178, allocations: 0 / 427.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1178, allocations: 4 kB / 427.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1178, allocations: 0 / 427.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.1179, allocations: 19.92 kB / 427.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.1181, allocations: 170.6 kB / 427.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1184, allocations: 89.17 kB / 427.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.1185, allocations: 21.7 kB / 427.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.1197, allocations: 1.54 MB / 429.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1197, allocations: 42.55 kB / 429.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1197, allocations: 0 / 429.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003056/0.12, allocations: 85.59 kB / 429.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.1201, allocations: 77.11 kB / 429.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1202, allocations: 109.8 kB / 429.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1202, allocations: 25.7 kB / 429.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.1202, allocations: 88.08 kB / 429.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1203, allocations: 27.75 kB / 429.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1203, allocations: 21.7 kB / 429.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1205, allocations: 318.8 kB / 430 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.1205, allocations: 15.98 kB / 430 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.1206, allocations: 35.42 kB / 430 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1207, allocations: 59.36 kB / 430.1 MB, free: 332 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1207, allocations: 4 kB / 430.1 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002031/0.1209, allocations: 85.47 kB / 430.2 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.121, allocations: 8 kB / 430.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.121, allocations: 3.938 kB / 430.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.121, allocations: 4 kB / 430.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.1211, allocations: 15.98 kB / 430.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.1211, allocations: 480 / 430.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.1211, allocations: 12.02 kB / 430.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1211, allocations: 4 kB / 430.2 MB, free: 188 kB / 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 8.575e-05/0.1212, allocations: 117.8 kB / 430.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1212, allocations: 4 kB / 430.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1216, allocations: 123.2 kB / 430.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1216, allocations: 7.984 kB / 430.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1216, allocations: 4 kB / 430.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1216, allocations: 4 kB / 430.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1218, allocations: 185.5 kB / 430.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1218, allocations: 0 / 430.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.1219, allocations: 8.047 kB / 430.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1219, allocations: 7.984 kB / 430.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1219, allocations: 0 / 430.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1219, allocations: 3.984 kB / 430.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1219, allocations: 0 / 430.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1222, allocations: 153.8 kB / 430.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.1223, allocations: 85.12 kB / 430.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1223, allocations: 4 kB / 430.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.1223, allocations: 4 kB / 430.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1224, allocations: 3.984 kB / 430.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1224, allocations: 4 kB / 430.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.1225, allocations: 95.33 kB / 431 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1225, allocations: 3.938 kB / 431 MB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1229, allocations: 131.5 kB / 431.1 MB, free: 15.15 MB / 366.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.0006645/0.1236, allocations: 290 kB / 431.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1238, allocations: 51.84 kB / 431.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1238, allocations: 0 / 431.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.1239, allocations: 36.03 kB / 431.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1241, allocations: 13.83 kB / 431.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.1246, allocations: 320 kB / 431.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.125, allocations: 0.6891 MB / 432.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.125, allocations: 23.42 kB / 432.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.125, allocations: 0 / 432.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.00549/0.1305, allocations: 2.893 MB / 435.4 MB, free: 10.81 MB / 366.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: 7.4075435439590365] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.13867594487965107 0.32706693299999995 0.207242758 Calling exit ...