Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 114.8 kB / 21.2 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 210.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.96 MB / 361.6 MB, free: 3.969 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 83.86 kB / 0.4974 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3343, allocations: 66.08 MB / 0.5619 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01247/0.3468, allocations: 8.331 MB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3626, allocations: 12.4 MB / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.3626, allocations: 0 / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3629, allocations: 43.75 kB / 0.5822 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.3693, allocations: 2.433 MB / 0.5846 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.685e-05/0.3694, allocations: 15.97 kB / 0.5846 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3696, allocations: 131.2 kB / 0.5847 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3696, allocations: 0 / 0.5847 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3698, allocations: 67.7 kB / 0.5848 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3699, allocations: 39.84 kB / 0.5848 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3699, allocations: 11.98 kB / 0.5848 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.3824, allocations: 7.271 MB / 0.5919 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.3825, allocations: 11.88 kB / 0.5919 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3826, allocations: 39.86 kB / 0.592 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.4016, allocations: 6.332 MB / 0.5982 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4016, allocations: 0 / 0.5982 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4016, allocations: 0 / 0.5982 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.4016, allocations: 0 / 0.5982 GB, free: 14.8 MB / 446.1 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.00427/0.4059, allocations: 0.6753 MB / 0.5988 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4059, allocations: 8.031 kB / 0.5988 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.4061, allocations: 23.94 kB / 0.5988 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4062, allocations: 113.1 kB / 0.5989 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4063, allocations: 11.98 kB / 0.599 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4063, allocations: 4 kB / 0.599 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4067, allocations: 206.7 kB / 0.5992 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4067, allocations: 3.938 kB / 0.5992 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4067, allocations: 0 / 0.5992 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4067, allocations: 8 kB / 0.5992 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.4071, allocations: 118.3 kB / 0.5993 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.4077, allocations: 328.2 kB / 0.5996 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.4081, allocations: 130.6 kB / 0.5997 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4083, allocations: 52.77 kB / 0.5998 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/0.4104, allocations: 0.6399 MB / 0.6004 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.4108, allocations: 216.4 kB / 0.6006 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.4108, allocations: 0 / 0.6006 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007719/0.4116, allocations: 237.5 kB / 0.6008 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4116, allocations: 55.34 kB / 0.6009 GB, free: 11.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.4117, allocations: 105.8 kB / 0.601 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4117, allocations: 29.7 kB / 0.601 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.4118, allocations: 95.86 kB / 0.6011 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.4118, allocations: 47.58 kB / 0.6011 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.4119, allocations: 33.7 kB / 0.6012 GB, free: 11.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.412, allocations: 326.8 kB / 0.6015 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4121, allocations: 43.97 kB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4123, allocations: 68.42 kB / 0.6016 GB, free: 11.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.4126, allocations: 112.3 kB / 0.6017 GB, free: 10.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4126, allocations: 0 / 0.6017 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003881/0.413, allocations: 157.5 kB / 0.6019 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.413, allocations: 8 kB / 0.6019 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.413, allocations: 3.938 kB / 0.6019 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.413, allocations: 0 / 0.6019 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4131, allocations: 27.91 kB / 0.6019 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4131, allocations: 4 kB / 0.6019 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4132, allocations: 20.19 kB / 0.6019 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4132, allocations: 4 kB / 0.6019 GB, free: 10.71 MB / 446.1 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.phase,p,$PRE.p,state_check.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 0.0001051/0.4133, allocations: 125.7 kB / 0.602 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.4134, allocations: 15.95 kB / 0.6021 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.414, allocations: 369.2 kB / 0.6024 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.414, allocations: 0 / 0.6024 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.414, allocations: 0 / 0.6024 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.4141, allocations: 11.89 kB / 0.6024 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.4141, allocations: 7.938 kB / 0.6024 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4143, allocations: 27.97 kB / 0.6025 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.4143, allocations: 19.97 kB / 0.6025 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005681/0.4149, allocations: 345 kB / 0.6028 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007585/0.4157, allocations: 0.5452 MB / 0.6033 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001758/0.4158, allocations: 98 kB / 0.6034 GB, free: 9.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.4159, allocations: 83.22 kB / 0.6035 GB, free: 9.043 MB / 446.1 MB Notification: Performance of Backend: time 2.51e-07/0.4159, allocations: 0 / 0.6035 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02429/0.4402, allocations: 6.283 MB / 0.6096 GB, free: 2.734 MB / 446.1 MB Notification: Performance of SimCode: time 0.0009737/0.4411, allocations: 0.8097 MB / 0.6104 GB, free: 1.867 MB / 446.1 MB Notification: Performance of Templates: time 0.03493/0.4761, allocations: 22.71 MB / 0.6326 GB, free: 11.13 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.955982826999389] Failed to read output from testmodel.py, exit status != 0: ['time'] 0.48482103599235415 0.499587747 0.09473176400000001 Calling exit ...