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.001859/0.001859, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002281/0.002281, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2309/0.2309, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.002051/0.002051, allocations: 71.88 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 66.03 MB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01426/0.3818, allocations: 8.81 MB / 0.5692 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.4002, allocations: 14.15 MB / 0.5831 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.494e-05/0.4003, allocations: 0 / 0.5831 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.4006, allocations: 51.7 kB / 0.5831 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008563/0.4092, allocations: 2.454 MB / 0.5855 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.4093, allocations: 19.97 kB / 0.5855 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.4095, allocations: 131.2 kB / 0.5857 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.4096, allocations: 4 kB / 0.5857 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.4098, allocations: 71.64 kB / 0.5857 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4099, allocations: 35.86 kB / 0.5858 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4099, allocations: 0 / 0.5858 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.4234, allocations: 7.368 MB / 0.593 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.4234, allocations: 15.91 kB / 0.593 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4235, allocations: 43.88 kB / 0.593 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.4399, allocations: 6.352 MB / 0.5992 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4399, allocations: 0 / 0.5992 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4399, allocations: 0 / 0.5992 GB, free: 12.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4399, allocations: 0 / 0.5992 GB, free: 12.99 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.004965/0.4448, allocations: 0.6637 MB / 0.5999 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4449, allocations: 12.03 kB / 0.5999 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.4449, allocations: 42.55 kB / 0.5999 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.4452, allocations: 27.94 kB / 0.5999 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4453, allocations: 113.1 kB / 0.6001 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4453, allocations: 8 kB / 0.6001 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.4454, allocations: 8 kB / 0.6001 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.4457, allocations: 129.5 kB / 0.6002 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4457, allocations: 0 / 0.6002 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4458, allocations: 4 kB / 0.6002 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4458, allocations: 4 kB / 0.6002 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.4461, allocations: 119.9 kB / 0.6003 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.447, allocations: 0.5771 MB / 0.6009 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.4474, allocations: 134.5 kB / 0.601 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4476, allocations: 52.83 kB / 0.6011 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/0.4499, allocations: 0.6321 MB / 0.6017 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003944/0.4503, allocations: 147.2 kB / 0.6018 GB, free: 10.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.4503, allocations: 0 / 0.6018 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008269/0.4511, allocations: 228.2 kB / 0.602 GB, free: 9.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.4512, allocations: 59.41 kB / 0.6021 GB, free: 9.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.4513, allocations: 109.8 kB / 0.6022 GB, free: 9.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.4514, allocations: 29.7 kB / 0.6022 GB, free: 9.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4514, allocations: 95.81 kB / 0.6023 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.4515, allocations: 47.62 kB / 0.6024 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.4515, allocations: 37.7 kB / 0.6024 GB, free: 9.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4517, allocations: 318.8 kB / 0.6027 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4518, allocations: 47.91 kB / 0.6027 GB, free: 9.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.452, allocations: 65.69 kB / 0.6028 GB, free: 9.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.4522, allocations: 105.9 kB / 0.6029 GB, free: 8.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4522, allocations: 0 / 0.6029 GB, free: 8.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004088/0.4527, allocations: 168 kB / 0.6031 GB, free: 8.777 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4527, allocations: 7.938 kB / 0.6031 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4527, allocations: 4 kB / 0.6031 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4527, allocations: 0 / 0.6031 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4528, allocations: 27.98 kB / 0.6031 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4528, allocations: 0 / 0.6031 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.453, allocations: 19.88 kB / 0.6031 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.453, allocations: 11.94 kB / 0.6031 GB, free: 8.707 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.0001167/0.4531, allocations: 117.8 kB / 0.6033 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.4532, allocations: 19.98 kB / 0.6033 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.4538, allocations: 361.3 kB / 0.6036 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004675/0.4543, allocations: 301.5 kB / 0.6039 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4543, allocations: 0 / 0.6039 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.4543, allocations: 4 kB / 0.6039 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.4555, allocations: 0.6806 MB / 0.6046 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4555, allocations: 0 / 0.6046 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.4556, allocations: 39.97 kB / 0.6046 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4556, allocations: 0 / 0.6046 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4556, allocations: 0 / 0.6046 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.4556, allocations: 7.938 kB / 0.6046 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4556, allocations: 3.938 kB / 0.6046 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.4564, allocations: 455.2 kB / 0.6051 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.4564, allocations: 23.81 kB / 0.6051 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.4565, allocations: 3.984 kB / 0.6051 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4567, allocations: 23.98 kB / 0.6051 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.4567, allocations: 19.95 kB / 0.6051 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4568, allocations: 8 kB / 0.6051 GB, free: 6.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.4568, allocations: 87.27 kB / 0.6052 GB, free: 6.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4568, allocations: 4.062 kB / 0.6052 GB, free: 6.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002779/0.4596, allocations: 458.6 kB / 0.6057 GB, free: 6.039 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.01927/0.4789, allocations: 5.777 MB / 0.6113 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.4795, allocations: 189.5 kB / 0.6115 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4795, allocations: 0 / 0.6115 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4798, allocations: 107.8 kB / 0.6116 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.4804, allocations: 82.19 kB / 0.6117 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.4854, allocations: 1.978 MB / 0.6136 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4858, allocations: 0.7212 MB / 0.6143 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.486, allocations: 44.88 kB / 0.6143 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4861, allocations: 59.39 kB / 0.6144 GB, free: 12.94 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4861, allocations: 0 / 0.6144 GB, free: 12.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.5478, allocations: 23.63 MB / 0.6375 GB, free: 5.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.64, allocations: 0 / 0.6375 GB, free: 5.402 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.047307893000834] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.781264429999283 12.79695995 12.353806922 Calling exit ...