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.001281/0.001281, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001303/0.001303, allocations: 205 kB / 21.45 MB, free: 1.629 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2292/0.2292, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.002302/0.002302, allocations: 83.86 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1363, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01202/0.1483, allocations: 8.77 MB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.1645, allocations: 14.08 MB / 0.5785 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.1646, allocations: 0 / 0.5785 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1648, allocations: 51.7 kB / 0.5785 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.1722, allocations: 2.443 MB / 0.5809 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.1723, allocations: 15.97 kB / 0.5809 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1725, allocations: 135.2 kB / 0.5811 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.1725, allocations: 3.984 kB / 0.5811 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1727, allocations: 63.77 kB / 0.5811 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.1728, allocations: 35.86 kB / 0.5812 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1728, allocations: 4 kB / 0.5812 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.1851, allocations: 7.333 MB / 0.5883 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1851, allocations: 19.91 kB / 0.5883 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1852, allocations: 39.81 kB / 0.5884 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3099/0.4951, allocations: 6.33 MB / 0.5946 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4951, allocations: 0 / 0.5946 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4951, allocations: 1.656 kB / 0.5946 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4951, allocations: 0.9375 kB / 0.5946 GB, free: 10.25 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.004995/0.5001, allocations: 0.7301 MB / 0.5953 GB, free: 9.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5002, allocations: 9.375 kB / 0.5953 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.5002, allocations: 42.42 kB / 0.5953 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.5004, allocations: 27.52 kB / 0.5953 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.5005, allocations: 173 kB / 0.5955 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.5005, allocations: 4.062 kB / 0.5955 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.5005, allocations: 11.19 kB / 0.5955 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.5009, allocations: 128.8 kB / 0.5956 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5009, allocations: 0.7031 kB / 0.5957 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.5009, allocations: 8.969 kB / 0.5957 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5009, allocations: 2.438 kB / 0.5957 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.5013, allocations: 112.9 kB / 0.5958 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.5019, allocations: 0.6054 MB / 0.5964 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.5023, allocations: 127.4 kB / 0.5965 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.5024, allocations: 49.16 kB / 0.5965 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002438/0.5049, allocations: 1.979 MB / 0.5985 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.5052, allocations: 143.4 kB / 0.5986 GB, free: 7.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.5052, allocations: 3.531 kB / 0.5986 GB, free: 7.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.000771/0.506, allocations: 227.4 kB / 0.5988 GB, free: 7.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.506, allocations: 55.16 kB / 0.5989 GB, free: 6.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.5061, allocations: 108.4 kB / 0.599 GB, free: 6.887 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5061, allocations: 31.64 kB / 0.599 GB, free: 6.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.5061, allocations: 92.66 kB / 0.5991 GB, free: 6.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5062, allocations: 53.53 kB / 0.5991 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.5062, allocations: 36.95 kB / 0.5992 GB, free: 6.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.5063, allocations: 324.8 kB / 0.5995 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5064, allocations: 43.86 kB / 0.5995 GB, free: 6.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.5066, allocations: 66.56 kB / 0.5996 GB, free: 6.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.5068, allocations: 107.8 kB / 0.5997 GB, free: 6.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5068, allocations: 0 / 0.5997 GB, free: 6.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003905/0.5072, allocations: 160.5 kB / 0.5998 GB, free: 6.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5072, allocations: 4.875 kB / 0.5999 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5072, allocations: 0.7812 kB / 0.5999 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5072, allocations: 3.531 kB / 0.5999 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5074, allocations: 29.7 kB / 0.5999 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5074, allocations: 1.234 kB / 0.5999 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5075, allocations: 21.75 kB / 0.5999 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5075, allocations: 12.34 kB / 0.5999 GB, free: 6.328 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.738e-05/0.5076, allocations: 122.8 kB / 0.6 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.5077, allocations: 7.344 kB / 0.6 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.5082, allocations: 353 kB / 0.6004 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004251/0.5087, allocations: 294.2 kB / 0.6007 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5087, allocations: 5.625 kB / 0.6007 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5087, allocations: 6.766 kB / 0.6007 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.5096, allocations: 0.6987 MB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5097, allocations: 3.125 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5098, allocations: 30.42 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5098, allocations: 4.562 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5098, allocations: 7.062 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5098, allocations: 0.8438 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5098, allocations: 1.734 kB / 0.6014 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.5105, allocations: 452.8 kB / 0.6018 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5105, allocations: 94.67 kB / 0.6019 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.5106, allocations: 4.453 kB / 0.6019 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5108, allocations: 30.56 kB / 0.602 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.5108, allocations: 21.28 kB / 0.602 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5109, allocations: 7.156 kB / 0.602 GB, free: 5.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.5109, allocations: 84.39 kB / 0.6021 GB, free: 5.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5109, allocations: 0.9375 kB / 0.6021 GB, free: 5.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003903/0.5148, allocations: 462.7 kB / 0.6025 GB, free: 5.379 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.01893/0.5337, allocations: 5.777 MB / 0.6081 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.5344, allocations: 189 kB / 0.6083 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5344, allocations: 2.297 kB / 0.6083 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.5346, allocations: 103.9 kB / 0.6084 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.5352, allocations: 81.05 kB / 0.6085 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.5406, allocations: 1.974 MB / 0.6104 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5409, allocations: 0.7178 MB / 0.6111 GB, free: 16.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.541, allocations: 51.14 kB / 0.6112 GB, free: 16.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.5411, allocations: 52.2 kB / 0.6112 GB, free: 16.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5411, allocations: 0 / 0.6112 GB, free: 16.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.5994, allocations: 23.3 MB / 0.634 GB, free: 8.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.467, allocations: 11.92 kB / 0.634 GB, free: 8.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.260846972931176] Failed to read output from testmodel.py, exit status != 0: 9.564327331027016 9.57900202 9.080674395 Calling exit ...