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.001266/0.001266, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001501/0.001501, allocations: 212.2 kB / 23.73 MB, free: 4.523 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2218/0.2218, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.001897/0.001897, allocations: 64.14 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3862, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01377/0.4, allocations: 8.347 MB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.4162, allocations: 12.39 MB / 0.5808 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.4163, allocations: 4 kB / 0.5808 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.4165, allocations: 39.73 kB / 0.5809 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008004/0.4245, allocations: 2.43 MB / 0.5833 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.4247, allocations: 23.95 kB / 0.5833 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.4249, allocations: 127.2 kB / 0.5834 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.425, allocations: 4 kB / 0.5834 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.4252, allocations: 67.7 kB / 0.5835 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.4254, allocations: 39.84 kB / 0.5835 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.4254, allocations: 4 kB / 0.5835 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/0.4454, allocations: 7.271 MB / 0.5906 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.4455, allocations: 11.98 kB / 0.5906 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.4457, allocations: 43.8 kB / 0.5907 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02717/0.4728, allocations: 6.332 MB / 0.5968 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4728, allocations: 4 kB / 0.5968 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4728, allocations: 0 / 0.5968 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4729, allocations: 0 / 0.5968 GB, free: 15.01 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.006402/0.4793, allocations: 0.6637 MB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.4793, allocations: 8.031 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.4794, allocations: 50.48 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.4797, allocations: 19.94 kB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.4799, allocations: 117.1 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.4799, allocations: 7.984 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.4799, allocations: 12 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.4805, allocations: 202.7 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4806, allocations: 4 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4806, allocations: 3.938 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4806, allocations: 4 kB / 0.5979 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.4811, allocations: 115.9 kB / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.4819, allocations: 355.6 kB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.4826, allocations: 134.5 kB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.4828, allocations: 48.83 kB / 0.5985 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00311/0.4859, allocations: 0.6438 MB / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005815/0.4865, allocations: 215.2 kB / 0.5994 GB, free: 12.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.4865, allocations: 0 / 0.5994 GB, free: 12.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001174/0.4877, allocations: 233.5 kB / 0.5996 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.4877, allocations: 55.41 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4878, allocations: 109.8 kB / 0.5997 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4879, allocations: 37.64 kB / 0.5998 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4879, allocations: 91.81 kB / 0.5999 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.488, allocations: 47.64 kB / 0.5999 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.4881, allocations: 33.7 kB / 0.5999 GB, free: 11.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4883, allocations: 322.8 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4885, allocations: 43.97 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4887, allocations: 67.91 kB / 0.6004 GB, free: 11.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.4891, allocations: 112.6 kB / 0.6005 GB, free: 11.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4891, allocations: 256 / 0.6005 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005915/0.4897, allocations: 157.5 kB / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4897, allocations: 7.938 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4897, allocations: 8 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4897, allocations: 0 / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.4899, allocations: 19.98 kB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4899, allocations: 4 kB / 0.6007 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.4901, allocations: 23.88 kB / 0.6007 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.4901, allocations: 4 kB / 0.6007 GB, free: 10.84 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.0002035/0.4903, allocations: 125.8 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4904, allocations: 11.95 kB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.4914, allocations: 365.2 kB / 0.6012 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007096/0.4921, allocations: 300.4 kB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4921, allocations: 4 kB / 0.6015 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4921, allocations: 3.938 kB / 0.6015 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.4938, allocations: 0.6845 MB / 0.6021 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4938, allocations: 3.984 kB / 0.6021 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.494, allocations: 27.98 kB / 0.6022 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.494, allocations: 0 / 0.6022 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.494, allocations: 4 kB / 0.6022 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.494, allocations: 4 kB / 0.6022 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.494, allocations: 0 / 0.6022 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4951, allocations: 467.1 kB / 0.6026 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4951, allocations: 23.8 kB / 0.6026 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4952, allocations: 4 kB / 0.6026 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4955, allocations: 23.97 kB / 0.6027 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.4955, allocations: 19.97 kB / 0.6027 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.4956, allocations: 8 kB / 0.6027 GB, free: 8.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.4957, allocations: 91.33 kB / 0.6028 GB, free: 8.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4957, allocations: 0 / 0.6028 GB, free: 8.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004174/0.4998, allocations: 454.7 kB / 0.6032 GB, free: 8.164 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.0285/0.5283, allocations: 5.779 MB / 0.6088 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.5289, allocations: 197.5 kB / 0.609 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.5289, allocations: 3.984 kB / 0.609 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.5292, allocations: 107.8 kB / 0.6091 GB, free: 2.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.5297, allocations: 75.84 kB / 0.6092 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.5346, allocations: 1.97 MB / 0.6111 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5347, allocations: 107.1 kB / 0.6112 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.5349, allocations: 60.88 kB / 0.6113 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.535, allocations: 47.42 kB / 0.6113 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/0.535, allocations: 0 / 0.6113 GB, free: 15.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/0.5985, allocations: 24.26 MB / 0.635 GB, free: 7.559 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.51, allocations: 14.06 kB / 0.635 GB, free: 7.551 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: 15.903265011002077] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.644487359997584 12.669215999 12.19151746 Calling exit ...