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.00126/0.00126, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001421/0.001421, allocations: 214 kB / 24.51 MB, free: 3.918 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.2693/0.2693, allocations: 46.97 MB / 361.7 MB, free: 4 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3436, allocations: 66.04 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01232/0.356, allocations: 8.339 MB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.3714, allocations: 12.37 MB / 0.5816 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.3714, allocations: 4 kB / 0.5816 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3717, allocations: 35.81 kB / 0.5816 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.3781, allocations: 2.442 MB / 0.584 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.394e-05/0.3782, allocations: 27.89 kB / 0.584 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3784, allocations: 123.2 kB / 0.5841 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3785, allocations: 7.984 kB / 0.5842 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3787, allocations: 63.77 kB / 0.5842 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.3787, allocations: 43.78 kB / 0.5843 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3788, allocations: 4 kB / 0.5843 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.3918, allocations: 7.267 MB / 0.5914 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3919, allocations: 11.98 kB / 0.5914 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.392, allocations: 39.81 kB / 0.5914 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.4103, allocations: 6.336 MB / 0.5976 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4104, allocations: 4 kB / 0.5976 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4104, allocations: 0 / 0.5976 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.4104, allocations: 0 / 0.5976 GB, free: 14.98 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.004056/0.4144, allocations: 0.6675 MB / 0.5983 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.4145, allocations: 8.031 kB / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.4145, allocations: 4 kB / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.4145, allocations: 46.55 kB / 0.5983 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.4147, allocations: 19.94 kB / 0.5983 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4149, allocations: 117.1 kB / 0.5984 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4149, allocations: 4 kB / 0.5984 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.4149, allocations: 12 kB / 0.5985 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.4154, allocations: 214.6 kB / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4154, allocations: 0 / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4154, allocations: 4 kB / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4154, allocations: 4 kB / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.4158, allocations: 115.9 kB / 0.5988 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.4164, allocations: 355.6 kB / 0.5991 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.4169, allocations: 134.5 kB / 0.5992 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.4171, allocations: 52.77 kB / 0.5993 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/0.4193, allocations: 0.6361 MB / 0.5999 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.4197, allocations: 223 kB / 0.6001 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4197, allocations: 0 / 0.6001 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008108/0.4205, allocations: 229.5 kB / 0.6003 GB, free: 11.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.4206, allocations: 63.34 kB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.4206, allocations: 105.8 kB / 0.6005 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.4207, allocations: 33.7 kB / 0.6005 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.4207, allocations: 91.81 kB / 0.6006 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.4208, allocations: 51.58 kB / 0.6007 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4209, allocations: 33.7 kB / 0.6007 GB, free: 11.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.421, allocations: 322.8 kB / 0.601 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4212, allocations: 47.91 kB / 0.6011 GB, free: 11.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4213, allocations: 61.69 kB / 0.6011 GB, free: 11.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.4216, allocations: 112.8 kB / 0.6012 GB, free: 11.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4216, allocations: 0 / 0.6012 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000404/0.422, allocations: 161.5 kB / 0.6014 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.422, allocations: 4 kB / 0.6014 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.422, allocations: 4 kB / 0.6014 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.422, allocations: 0 / 0.6014 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4222, allocations: 27.92 kB / 0.6014 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4222, allocations: 3.938 kB / 0.6014 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4223, allocations: 19.94 kB / 0.6014 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4223, allocations: 4 kB / 0.6014 GB, free: 10.8 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.0001086/0.4224, allocations: 129.8 kB / 0.6016 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.4225, allocations: 7.953 kB / 0.6016 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.4231, allocations: 357.3 kB / 0.6019 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004697/0.4236, allocations: 308.6 kB / 0.6022 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4236, allocations: 0 / 0.6022 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4236, allocations: 0 / 0.6022 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.4247, allocations: 0.6767 MB / 0.6029 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4247, allocations: 0 / 0.6029 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4249, allocations: 35.91 kB / 0.6029 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4249, allocations: 0 / 0.6029 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4249, allocations: 8.25 kB / 0.6029 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.4249, allocations: 0 / 0.6029 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4249, allocations: 7.938 kB / 0.6029 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.4256, allocations: 459.2 kB / 0.6034 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.4256, allocations: 19.81 kB / 0.6034 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4257, allocations: 7.984 kB / 0.6034 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4259, allocations: 23.92 kB / 0.6034 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4259, allocations: 23.95 kB / 0.6034 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.426, allocations: 12.06 kB / 0.6034 GB, free: 8.664 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.426, allocations: 87.27 kB / 0.6035 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.426, allocations: 0 / 0.6035 GB, free: 8.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002916/0.4289, allocations: 454.7 kB / 0.604 GB, free: 8.133 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.01765/0.4466, allocations: 5.768 MB / 0.6096 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.4471, allocations: 201.4 kB / 0.6098 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4471, allocations: 4 kB / 0.6098 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4474, allocations: 107.9 kB / 0.6099 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.4479, allocations: 78.86 kB / 0.61 GB, free: 1.941 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.4523, allocations: 1.972 MB / 0.6119 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4524, allocations: 111.1 kB / 0.612 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.4525, allocations: 52.95 kB / 0.612 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.4526, allocations: 51.41 kB / 0.6121 GB, free: 15.65 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4526, allocations: 0 / 0.6121 GB, free: 15.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.506, allocations: 23.91 MB / 0.6354 GB, free: 7.891 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.89, allocations: 16.08 kB / 0.6355 GB, free: 7.883 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 17.556074089952745] Failed to read output from testmodel.py, exit status != 0: ['time'] 13.07489752897527 13.089896594 12.676467188 Calling exit ...