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.001472/0.001472, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001642/0.001642, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 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.465/1.465, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2648/0.2648, allocations: 46.91 MB / 357.1 MB, free: 10.3 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.91 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01286/0.1514, allocations: 8.762 MB / 0.5639 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.1686, allocations: 14.1 MB / 0.5777 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.1687, allocations: 0 / 0.5777 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.169, allocations: 47.77 kB / 0.5777 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.1764, allocations: 2.438 MB / 0.5801 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.1765, allocations: 23.91 kB / 0.5801 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1767, allocations: 127.2 kB / 0.5803 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1768, allocations: 8 kB / 0.5803 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.177, allocations: 59.77 kB / 0.5803 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1771, allocations: 43.78 kB / 0.5804 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1771, allocations: 4 kB / 0.5804 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.1897, allocations: 7.325 MB / 0.5875 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.1897, allocations: 15.92 kB / 0.5875 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1898, allocations: 47.84 kB / 0.5876 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3279/0.5177, allocations: 6.323 MB / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5177, allocations: 0 / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5177, allocations: 0.6562 kB / 0.5938 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5177, allocations: 3.031 kB / 0.5938 GB, free: 10.11 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.005563/0.5232, allocations: 0.7278 MB / 0.5945 GB, free: 9.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5233, allocations: 12.16 kB / 0.5945 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.5233, allocations: 42.33 kB / 0.5945 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.5236, allocations: 23.75 kB / 0.5946 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5237, allocations: 179.9 kB / 0.5947 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5237, allocations: 4.125 kB / 0.5947 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.5238, allocations: 8.406 kB / 0.5947 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.5241, allocations: 129 kB / 0.5949 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5242, allocations: 0.875 kB / 0.5949 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.5242, allocations: 5.391 kB / 0.5949 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.5242, allocations: 6.641 kB / 0.5949 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.5245, allocations: 110.1 kB / 0.595 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.5251, allocations: 0.6035 MB / 0.5956 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.5256, allocations: 134.2 kB / 0.5957 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5257, allocations: 48.97 kB / 0.5957 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/0.5283, allocations: 1.979 MB / 0.5977 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.5287, allocations: 144.7 kB / 0.5978 GB, free: 6.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.5287, allocations: 0 / 0.5978 GB, free: 6.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007978/0.5295, allocations: 229 kB / 0.598 GB, free: 6.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.5296, allocations: 55.28 kB / 0.5981 GB, free: 6.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.5296, allocations: 110.9 kB / 0.5982 GB, free: 6.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5296, allocations: 28.52 kB / 0.5982 GB, free: 6.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.5297, allocations: 91.61 kB / 0.5983 GB, free: 6.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.5297, allocations: 54.34 kB / 0.5984 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.5298, allocations: 35.41 kB / 0.5984 GB, free: 6.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.5298, allocations: 323.5 kB / 0.5987 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5299, allocations: 46.58 kB / 0.5987 GB, free: 6.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.5301, allocations: 65.56 kB / 0.5988 GB, free: 6.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.5303, allocations: 106.9 kB / 0.5989 GB, free: 6.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5304, allocations: 2.969 kB / 0.5989 GB, free: 6.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003876/0.5307, allocations: 157.8 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5308, allocations: 7.25 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5308, allocations: 0.8438 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5308, allocations: 1.531 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5309, allocations: 21.47 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5309, allocations: 3.25 kB / 0.5991 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.531, allocations: 24.47 kB / 0.5991 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.5311, allocations: 8.828 kB / 0.5991 GB, free: 6.191 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_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.155e-05/0.5311, allocations: 127 kB / 0.5992 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.5312, allocations: 8.438 kB / 0.5993 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.5318, allocations: 351 kB / 0.5996 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000443/0.5323, allocations: 293 kB / 0.5999 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5323, allocations: 4.875 kB / 0.5999 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5323, allocations: 1.688 kB / 0.5999 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5333, allocations: 0.7028 MB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5333, allocations: 2.469 kB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5335, allocations: 35.61 kB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5335, allocations: 0 / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.5335, allocations: 6.703 kB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5335, allocations: 3.094 kB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5335, allocations: 0.7031 kB / 0.6006 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.5342, allocations: 454.9 kB / 0.601 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.5342, allocations: 94.89 kB / 0.6011 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.5342, allocations: 5.562 kB / 0.6011 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.5345, allocations: 29.23 kB / 0.6012 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.5345, allocations: 20.7 kB / 0.6012 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.5346, allocations: 9.578 kB / 0.6012 GB, free: 5.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.969e-05/0.5346, allocations: 82.12 kB / 0.6013 GB, free: 5.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5346, allocations: 1.688 kB / 0.6013 GB, free: 5.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004469/0.5391, allocations: 461 kB / 0.6017 GB, free: 5.242 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,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.02215/0.5612, allocations: 5.779 MB / 0.6074 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.5619, allocations: 195.6 kB / 0.6075 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5619, allocations: 0 / 0.6075 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.5621, allocations: 108.2 kB / 0.6076 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.5628, allocations: 76.59 kB / 0.6077 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.5685, allocations: 1.975 MB / 0.6096 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5689, allocations: 0.7177 MB / 0.6104 GB, free: 16.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.5691, allocations: 48.31 kB / 0.6104 GB, free: 16.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.5691, allocations: 50.45 kB / 0.6104 GB, free: 16.21 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5691, allocations: 0 / 0.6104 GB, free: 16.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06922/0.6384, allocations: 23.32 MB / 0.6332 GB, free: 8.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.077/9.715, allocations: 6.531 kB / 0.6332 GB, free: 8.402 MB / 462.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.24873202899471] Failed to read output from testmodel.py, exit status != 0: ['time'] 9.814515047997702 9.831322015 9.310466922 Calling exit ...