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.001778/0.001778, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.002225/0.002225, allocations: 214.2 kB / 23.77 MB, free: 4.332 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2589/0.2589, allocations: 46.95 MB / 360.8 MB, free: 3.879 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: "" <> 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.002373/0.002373, allocations: 79.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3655, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01297/0.3785, allocations: 8.341 MB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.3951, allocations: 12.39 MB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.3952, allocations: 3.938 kB / 0.581 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.3955, allocations: 39.8 kB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.404, allocations: 2.434 MB / 0.5834 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.4041, allocations: 15.92 kB / 0.5834 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4044, allocations: 135.2 kB / 0.5836 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.4044, allocations: 4 kB / 0.5836 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.4046, allocations: 63.77 kB / 0.5836 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4047, allocations: 39.78 kB / 0.5837 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4047, allocations: 0 / 0.5837 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.4196, allocations: 7.134 MB / 0.5906 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.4197, allocations: 19.91 kB / 0.5906 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.4199, allocations: 43.8 kB / 0.5907 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02045/0.4403, allocations: 6.329 MB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4403, allocations: 0 / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4403, allocations: 0 / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4404, allocations: 3.984 kB / 0.5969 GB, free: 14.9 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.004466/0.4448, allocations: 0.6597 MB / 0.5975 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4449, allocations: 12.03 kB / 0.5975 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.4449, allocations: 42.56 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.4451, allocations: 27.92 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.4453, allocations: 113.1 kB / 0.5977 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4453, allocations: 0 / 0.5977 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.4453, allocations: 12 kB / 0.5977 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.4458, allocations: 202.7 kB / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4458, allocations: 3.984 kB / 0.5979 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4458, allocations: 8 kB / 0.5979 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4458, allocations: 0 / 0.5979 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.4462, allocations: 111.9 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.4469, allocations: 363.5 kB / 0.5984 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.4474, allocations: 130.5 kB / 0.5985 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4476, allocations: 52.83 kB / 0.5985 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/0.4499, allocations: 0.6438 MB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.4505, allocations: 216.4 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.4505, allocations: 0 / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008353/0.4513, allocations: 232.3 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4513, allocations: 51.41 kB / 0.5997 GB, free: 11.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4514, allocations: 117.7 kB / 0.5998 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.4515, allocations: 29.7 kB / 0.5998 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.4516, allocations: 103.8 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.4516, allocations: 43.64 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.4517, allocations: 37.7 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4519, allocations: 322.8 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.452, allocations: 47.97 kB / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4521, allocations: 64.42 kB / 0.6004 GB, free: 11.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.4524, allocations: 105.7 kB / 0.6005 GB, free: 10.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4524, allocations: 0 / 0.6005 GB, free: 10.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003927/0.4528, allocations: 160.4 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4528, allocations: 4 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4528, allocations: 4 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4529, allocations: 0 / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.453, allocations: 35.91 kB / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.453, allocations: 0 / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4531, allocations: 20.12 kB / 0.6007 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.4531, allocations: 4 kB / 0.6007 GB, free: 10.73 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.0001177/0.4533, allocations: 117.8 kB / 0.6008 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.4533, allocations: 11.95 kB / 0.6008 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.454, allocations: 377.2 kB / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005383/0.4546, allocations: 293.6 kB / 0.6015 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4546, allocations: 3.938 kB / 0.6015 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4546, allocations: 3.984 kB / 0.6015 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4558, allocations: 0.6768 MB / 0.6021 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4558, allocations: 0 / 0.6021 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4559, allocations: 31.92 kB / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4559, allocations: 0 / 0.6022 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4559, allocations: 8 kB / 0.6022 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.4559, allocations: 3.984 kB / 0.6022 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4559, allocations: 0 / 0.6022 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.4567, allocations: 459.1 kB / 0.6026 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.4567, allocations: 23.86 kB / 0.6026 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4567, allocations: 11.92 kB / 0.6026 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4569, allocations: 28.03 kB / 0.6027 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.457, allocations: 19.97 kB / 0.6027 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.457, allocations: 11.98 kB / 0.6027 GB, free: 8.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.397e-05/0.4571, allocations: 79.28 kB / 0.6028 GB, free: 8.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4571, allocations: 0 / 0.6028 GB, free: 8.508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004369/0.4615, allocations: 454.7 kB / 0.6032 GB, free: 8.062 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.02038/0.4818, allocations: 5.776 MB / 0.6089 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.4826, allocations: 201.4 kB / 0.609 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.4826, allocations: 0 / 0.609 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.4829, allocations: 107.8 kB / 0.6092 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.4836, allocations: 71.84 kB / 0.6092 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.4899, allocations: 1.977 MB / 0.6112 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.49, allocations: 107.2 kB / 0.6113 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.4902, allocations: 48.86 kB / 0.6113 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4903, allocations: 51.42 kB / 0.6113 GB, free: 15.58 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4903, allocations: 0 / 0.6113 GB, free: 15.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06469/0.555, allocations: 24.24 MB / 0.635 GB, free: 7.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.8, allocations: 4.062 kB / 0.635 GB, free: 7.449 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.272525939013576] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.969242665014463 12.984606437 12.540885303 Calling exit ...