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.00132/0.00132, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.00139/0.00139, allocations: 210.8 kB / 23.74 MB, free: 4.543 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2454/0.2454, allocations: 46.93 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 79.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3719, allocations: 66.09 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01368/0.3856, allocations: 8.798 MB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.4038, allocations: 14.15 MB / 0.5832 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.4039, allocations: 0 / 0.5832 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.4041, allocations: 51.72 kB / 0.5832 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.4125, allocations: 2.458 MB / 0.5856 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.4126, allocations: 15.98 kB / 0.5856 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4128, allocations: 123.3 kB / 0.5857 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.4129, allocations: 7.984 kB / 0.5857 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.4131, allocations: 63.72 kB / 0.5858 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.4132, allocations: 43.84 kB / 0.5858 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4132, allocations: 0 / 0.5858 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/0.4261, allocations: 7.364 MB / 0.593 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.4262, allocations: 19.92 kB / 0.5931 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.4263, allocations: 39.86 kB / 0.5931 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.4416, allocations: 6.348 MB / 0.5993 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4416, allocations: 0 / 0.5993 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4416, allocations: 0 / 0.5993 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4416, allocations: 0 / 0.5993 GB, free: 12.7 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.004249/0.4458, allocations: 0.6676 MB / 0.5999 GB, free: 11.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4459, allocations: 12.03 kB / 0.6 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.4459, allocations: 46.48 kB / 0.6 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.4461, allocations: 23.94 kB / 0.6 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4462, allocations: 113.1 kB / 0.6001 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4463, allocations: 4 kB / 0.6001 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4463, allocations: 8 kB / 0.6001 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.4467, allocations: 129.5 kB / 0.6003 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4467, allocations: 0 / 0.6003 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4467, allocations: 8 kB / 0.6003 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4467, allocations: 4 kB / 0.6003 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.447, allocations: 115.9 kB / 0.6004 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.4478, allocations: 0.5771 MB / 0.601 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.4482, allocations: 138.5 kB / 0.6011 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4484, allocations: 56.81 kB / 0.6011 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/0.4506, allocations: 0.6321 MB / 0.6018 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.451, allocations: 147.2 kB / 0.6019 GB, free: 9.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.451, allocations: 0 / 0.6019 GB, free: 9.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007785/0.4518, allocations: 227.8 kB / 0.6021 GB, free: 9.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4518, allocations: 59.41 kB / 0.6022 GB, free: 9.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.4519, allocations: 113.8 kB / 0.6023 GB, free: 9.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.452, allocations: 25.7 kB / 0.6023 GB, free: 9.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.452, allocations: 95.81 kB / 0.6024 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.4521, allocations: 43.64 kB / 0.6024 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.4521, allocations: 37.7 kB / 0.6025 GB, free: 9.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4523, allocations: 322.8 kB / 0.6028 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4524, allocations: 47.84 kB / 0.6028 GB, free: 8.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4525, allocations: 68.44 kB / 0.6029 GB, free: 8.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.4528, allocations: 102.5 kB / 0.603 GB, free: 8.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4528, allocations: 0 / 0.603 GB, free: 8.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005286/0.4533, allocations: 165.5 kB / 0.6031 GB, free: 8.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4533, allocations: 4 kB / 0.6032 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4533, allocations: 0 / 0.6032 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4534, allocations: 4 kB / 0.6032 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4535, allocations: 23.98 kB / 0.6032 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4535, allocations: 3.984 kB / 0.6032 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4536, allocations: 19.88 kB / 0.6032 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.4536, allocations: 11.94 kB / 0.6032 GB, free: 8.414 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.0001168/0.4537, allocations: 121.8 kB / 0.6033 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.4538, allocations: 12.2 kB / 0.6033 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.4545, allocations: 365.2 kB / 0.6037 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004452/0.4549, allocations: 301.5 kB / 0.604 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4549, allocations: 12 kB / 0.604 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4549, allocations: 0 / 0.604 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.456, allocations: 0.6768 MB / 0.6046 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.456, allocations: 4 kB / 0.6047 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.4562, allocations: 35.97 kB / 0.6047 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4562, allocations: 3.938 kB / 0.6047 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4562, allocations: 0 / 0.6047 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4562, allocations: 7.938 kB / 0.6047 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4562, allocations: 0 / 0.6047 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.4569, allocations: 459.1 kB / 0.6051 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.457, allocations: 23.81 kB / 0.6052 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.457, allocations: 3.984 kB / 0.6052 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4572, allocations: 23.98 kB / 0.6052 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.4573, allocations: 23.95 kB / 0.6052 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4573, allocations: 4 kB / 0.6052 GB, free: 6.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.4573, allocations: 91.33 kB / 0.6053 GB, free: 6.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4573, allocations: 0 / 0.6053 GB, free: 6.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003273/0.4606, allocations: 454.7 kB / 0.6057 GB, free: 5.742 MB / 446.1 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,dT,state_check.phase,p) * 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.01822/0.4788, allocations: 5.787 MB / 0.6114 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.4794, allocations: 193.4 kB / 0.6116 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4794, allocations: 0 / 0.6116 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.4796, allocations: 107.8 kB / 0.6117 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.4802, allocations: 75.84 kB / 0.6117 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.4844, allocations: 1.965 MB / 0.6137 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4848, allocations: 0.7212 MB / 0.6144 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.4849, allocations: 44.88 kB / 0.6144 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.485, allocations: 51.41 kB / 0.6145 GB, free: 12.64 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.485, allocations: 0 / 0.6145 GB, free: 12.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05786/0.5429, allocations: 23.61 MB / 0.6375 GB, free: 5.117 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.52, allocations: 3.984 kB / 0.6375 GB, free: 5.113 MB / 478.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.009711672995763] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.653363462995912 12.668809297 12.223823883 Calling exit ...