Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001335/0.001335, allocations: 120 kB / 18.5 MB, free: 4.52 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.00138/0.00138, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.462/1.462, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.92 MB / 357.7 MB, free: 10.18 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-beta.om/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_4_1_0-beta_om_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-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 75.86 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1314, allocations: 66.05 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01378/0.1452, allocations: 8.763 MB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.1624, allocations: 14.1 MB / 0.5785 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.1625, allocations: 0 / 0.5785 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1627, allocations: 47.72 kB / 0.5785 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007603/0.1703, allocations: 2.45 MB / 0.5809 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1704, allocations: 15.97 kB / 0.5809 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1706, allocations: 131.3 kB / 0.5811 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.1707, allocations: 7.984 kB / 0.5811 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1709, allocations: 59.72 kB / 0.5811 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.171, allocations: 47.77 kB / 0.5812 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.171, allocations: 4 kB / 0.5812 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.1835, allocations: 7.325 MB / 0.5883 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.1836, allocations: 15.92 kB / 0.5883 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1837, allocations: 47.84 kB / 0.5884 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2938/0.4774, allocations: 6.327 MB / 0.5946 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4775, allocations: 0.5625 kB / 0.5946 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4775, allocations: 0 / 0.5946 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.4775, allocations: 0 / 0.5946 GB, free: 10.16 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.005651/0.4831, allocations: 0.7319 MB / 0.5953 GB, free: 9.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4832, allocations: 10.62 kB / 0.5953 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.4832, allocations: 38.66 kB / 0.5953 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.4834, allocations: 24.27 kB / 0.5954 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.4835, allocations: 175.2 kB / 0.5955 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4835, allocations: 6.406 kB / 0.5955 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.4836, allocations: 9.797 kB / 0.5955 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.4839, allocations: 127.1 kB / 0.5957 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.484, allocations: 0 / 0.5957 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.484, allocations: 4.578 kB / 0.5957 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.484, allocations: 2.078 kB / 0.5957 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.4843, allocations: 117.5 kB / 0.5958 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.4849, allocations: 0.6022 MB / 0.5964 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.4854, allocations: 138.6 kB / 0.5965 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4856, allocations: 46.81 kB / 0.5965 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002588/0.4881, allocations: 1.978 MB / 0.5985 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.4885, allocations: 139.1 kB / 0.5986 GB, free: 6.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.4885, allocations: 0.7812 kB / 0.5986 GB, free: 6.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008053/0.4893, allocations: 230.2 kB / 0.5988 GB, free: 6.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.4894, allocations: 54.39 kB / 0.5989 GB, free: 6.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.4894, allocations: 107.9 kB / 0.599 GB, free: 6.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4895, allocations: 32.08 kB / 0.599 GB, free: 6.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.4895, allocations: 92.25 kB / 0.5991 GB, free: 6.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.4895, allocations: 56.09 kB / 0.5991 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.4896, allocations: 34.41 kB / 0.5992 GB, free: 6.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.4896, allocations: 323.9 kB / 0.5995 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4898, allocations: 45.53 kB / 0.5995 GB, free: 6.309 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.49, allocations: 65.66 kB / 0.5996 GB, free: 6.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.4903, allocations: 107.6 kB / 0.5997 GB, free: 6.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4903, allocations: 0.75 kB / 0.5997 GB, free: 6.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004556/0.4907, allocations: 155.5 kB / 0.5998 GB, free: 6.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4907, allocations: 7.781 kB / 0.5999 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4907, allocations: 2.672 kB / 0.5999 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4908, allocations: 4.25 kB / 0.5999 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.4909, allocations: 30.02 kB / 0.5999 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4909, allocations: 1.453 kB / 0.5999 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.491, allocations: 21.94 kB / 0.5999 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4911, allocations: 8.594 kB / 0.5999 GB, free: 6.234 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 9.717e-05/0.4912, allocations: 119 kB / 0.6 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.4912, allocations: 11.27 kB / 0.6 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.4919, allocations: 353.3 kB / 0.6004 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005198/0.4925, allocations: 287.9 kB / 0.6007 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4925, allocations: 10.62 kB / 0.6007 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4925, allocations: 2.625 kB / 0.6007 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4936, allocations: 0.7045 MB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4936, allocations: 0 / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4938, allocations: 29.67 kB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4938, allocations: 4.172 kB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4938, allocations: 7.422 kB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4938, allocations: 0.7812 kB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4938, allocations: 0.7812 kB / 0.6014 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.4946, allocations: 455.4 kB / 0.6018 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4947, allocations: 97.75 kB / 0.6019 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4947, allocations: 9.297 kB / 0.6019 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4949, allocations: 30.86 kB / 0.602 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.495, allocations: 19.14 kB / 0.602 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.495, allocations: 11.06 kB / 0.602 GB, free: 5.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.4951, allocations: 83.53 kB / 0.6021 GB, free: 5.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4951, allocations: 0 / 0.6021 GB, free: 5.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004994/0.5001, allocations: 462.3 kB / 0.6025 GB, free: 5.285 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.02058/0.5206, allocations: 5.77 MB / 0.6081 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006606/0.5213, allocations: 194.5 kB / 0.6083 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5213, allocations: 0 / 0.6083 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.5215, allocations: 97.48 kB / 0.6084 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.5222, allocations: 81.5 kB / 0.6085 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.5272, allocations: 1.97 MB / 0.6104 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5276, allocations: 0.7208 MB / 0.6111 GB, free: 16.26 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.5278, allocations: 55.69 kB / 0.6112 GB, free: 16.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.5279, allocations: 49.55 kB / 0.6112 GB, free: 16.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5279, allocations: 3.219 kB / 0.6112 GB, free: 16.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/0.5846, allocations: 23.29 MB / 0.634 GB, free: 8.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.234/9.819, allocations: 7.797 kB / 0.634 GB, free: 8.188 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.786123095080256] Failed to read output from testmodel.py, exit status != 0: 9.91942891664803 9.943398941 9.461247311 Calling exit ...