Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2881/0.2881, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.67e-05/3.83e-05, allocations: 3.812 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01315/0.01319, allocations: 8.84 MB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.02466, allocations: 13.84 MB / 347.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.02472, allocations: 0 / 347.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.02494, allocations: 43.75 kB / 348 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.03062, allocations: 2.509 MB / 350.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.965e-05/0.03071, allocations: 27.84 kB / 350.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.03087, allocations: 139.1 kB / 350.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.03092, allocations: 8 kB / 350.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.0311, allocations: 79.78 kB / 350.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.03119, allocations: 31.97 kB / 350.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.0312, allocations: 4 kB / 350.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008154/0.03936, allocations: 7.145 MB / 357.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.03938, allocations: 15.92 kB / 357.9 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.03943, allocations: 39.92 kB / 358 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007802/0.04724, allocations: 6.644 MB / 364.6 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.04724, allocations: 0 / 364.6 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.04725, allocations: 0 / 364.6 MB, free: 240 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.04726, allocations: 0 / 364.6 MB, free: 240 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.002749/0.05, allocations: 0.6299 MB / 365.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.05004, allocations: 8.031 kB / 365.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.0502, allocations: 59.73 kB / 365.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.05028, allocations: 109.2 kB / 365.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.0503, allocations: 3.984 kB / 365.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.05032, allocations: 20 kB / 365.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.05056, allocations: 194.2 kB / 365.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.05057, allocations: 0 / 365.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.05058, allocations: 4 kB / 365.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.05059, allocations: 7.938 kB / 365.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.05067, allocations: 51.89 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.05102, allocations: 265.5 kB / 365.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.05118, allocations: 94.45 kB / 366 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.05121, allocations: 20.86 kB / 366 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.05271, allocations: 0.9092 MB / 367 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.05292, allocations: 192.4 kB / 367.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.05292, allocations: 0 / 367.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002773/0.0532, allocations: 150.6 kB / 367.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.05323, allocations: 55.34 kB / 367.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.05329, allocations: 114.8 kB / 367.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.05331, allocations: 29.7 kB / 367.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.05334, allocations: 88.12 kB / 367.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.05337, allocations: 51.53 kB / 367.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.05341, allocations: 37.69 kB / 367.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.05349, allocations: 326.8 kB / 368 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.05351, allocations: 15.98 kB / 368 MB, free: 12.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.05354, allocations: 33.7 kB / 368 MB, free: 12.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.0536, allocations: 63.86 kB / 368.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.05361, allocations: 0 / 368.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001216/0.05373, allocations: 105.4 kB / 368.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.05374, allocations: 8 kB / 368.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.05375, allocations: 0 / 368.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.05376, allocations: 4 kB / 368.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.05383, allocations: 23.92 kB / 368.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.05383, allocations: 4 kB / 368.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.05387, allocations: 11.89 kB / 368.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.05389, allocations: 11.98 kB / 368.3 MB, free: 12.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (dT,$PRE.dT,state_check.phase,p,$PRE.p,state.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 7.258e-05/0.05396, allocations: 114.6 kB / 368.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.054, allocations: 19.86 kB / 368.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.05424, allocations: 204 kB / 368.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.05435, allocations: 142.9 kB / 368.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.05435, allocations: 0 / 368.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.05435, allocations: 0 / 368.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.05479, allocations: 466.1 kB / 369.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.05479, allocations: 4 kB / 369.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.05486, allocations: 27.92 kB / 369.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.05486, allocations: 4 kB / 369.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.05487, allocations: 4.25 kB / 369.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.05488, allocations: 8 kB / 369.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.05488, allocations: 3.938 kB / 369.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.05513, allocations: 322 kB / 369.5 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.05515, allocations: 23.78 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.05516, allocations: 4 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.05523, allocations: 15.98 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.05528, allocations: 27.98 kB / 369.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.05529, allocations: 8.031 kB / 369.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.0553, allocations: 8.859 kB / 369.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0553, allocations: 0 / 369.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001742/0.05704, allocations: 458.7 kB / 370.1 MB, free: 10.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,p,state_check.phase,dT) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01029/0.06734, allocations: 4.983 MB / 375.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.06753, allocations: 133 kB / 375.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.06753, allocations: 0 / 375.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.0676, allocations: 81.2 kB / 375.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.06788, allocations: 76.06 kB / 375.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.06862, allocations: 360 kB / 375.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.06867, allocations: 84.78 kB / 375.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.06876, allocations: 44.88 kB / 375.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.0689, allocations: 115.3 kB / 375.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0689, allocations: 4 kB / 375.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of Templates: time 0.02257/0.09147, allocations: 23.77 MB / 399.7 MB, free: 12.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9831866063177586]