Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2352/0.2352, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.002254/0.002254, allocations: 77.06 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01287/0.1392, allocations: 8.411 MB / 488.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1528, allocations: 11.13 MB / 499.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.153, allocations: 0 / 499.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1533, allocations: 47.73 kB / 499.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.1595, allocations: 1.804 MB / 0.4898 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.686e-06/0.1595, allocations: 0 / 0.4898 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1597, allocations: 43.69 kB / 0.4899 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.1597, allocations: 15.92 kB / 0.4899 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1599, allocations: 31.86 kB / 0.4899 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.1599, allocations: 15.92 kB / 0.4899 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1599, allocations: 4 kB / 0.4899 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.171, allocations: 6.639 MB / 0.4964 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1711, allocations: 11.92 kB / 0.4964 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.1711, allocations: 15.92 kB / 0.4964 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.1854, allocations: 4.636 MB / 0.501 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1855, allocations: 0 / 0.501 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1855, allocations: 0 / 0.501 GB, free: 4.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1855, allocations: 4 kB / 0.501 GB, free: 4.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002695/0.1882, allocations: 0.5576 MB / 0.5015 GB, free: 3.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1882, allocations: 8.031 kB / 0.5015 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1883, allocations: 34.56 kB / 0.5016 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1884, allocations: 15.98 kB / 0.5016 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1885, allocations: 163 kB / 0.5017 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1885, allocations: 4 kB / 0.5017 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-06/0.1886, allocations: 0 / 0.5017 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1887, allocations: 89.55 kB / 0.5018 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1887, allocations: 0 / 0.5018 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1887, allocations: 0 / 0.5018 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1888, allocations: 7.984 kB / 0.5018 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1889, allocations: 71.95 kB / 0.5019 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.1893, allocations: 316.7 kB / 0.5022 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.1894, allocations: 50.52 kB / 0.5022 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.1895, allocations: 36.91 kB / 0.5023 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003385/0.1929, allocations: 1.839 MB / 0.5041 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1929, allocations: 38.56 kB / 0.5041 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-05/0.193, allocations: 0 / 0.5041 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003365/0.1933, allocations: 117.6 kB / 0.5042 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1934, allocations: 51.41 kB / 0.5043 GB, free: 428 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1935, allocations: 105.8 kB / 0.5044 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1935, allocations: 25.7 kB / 0.5044 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1936, allocations: 88.33 kB / 0.5045 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1936, allocations: 31.69 kB / 0.5045 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1936, allocations: 29.61 kB / 0.5045 GB, free: 120 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2231/0.4167, allocations: 318.7 kB / 0.5048 GB, free: 39.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.4168, allocations: 21.59 kB / 0.5049 GB, free: 39.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.4169, allocations: 35.7 kB / 0.5049 GB, free: 39.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4171, allocations: 63.55 kB / 0.505 GB, free: 39.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4171, allocations: 0 / 0.505 GB, free: 39.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002332/0.4173, allocations: 92.89 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4174, allocations: 10.94 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4174, allocations: 0.8125 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4174, allocations: 0.5625 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.4175, allocations: 9.469 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4175, allocations: 5 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.4176, allocations: 6.312 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4176, allocations: 3.297 kB / 0.5051 GB, free: 39.92 MB / 382.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.025e-05/0.4177, allocations: 114.2 kB / 0.5052 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.4177, allocations: 6.375 kB / 0.5052 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.418, allocations: 154.5 kB / 0.5053 GB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/0.4182, allocations: 115.2 kB / 0.5055 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4182, allocations: 5.406 kB / 0.5055 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4182, allocations: 2.125 kB / 0.5055 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4187, allocations: 440 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4187, allocations: 1.734 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.4187, allocations: 16.58 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4187, allocations: 0.5156 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4188, allocations: 1.938 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4188, allocations: 5.781 kB / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4188, allocations: 0 / 0.5059 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.419, allocations: 223.3 kB / 0.5061 GB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.419, allocations: 82.52 kB / 0.5062 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.419, allocations: 4.766 kB / 0.5062 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.4191, allocations: 0 / 0.5062 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.4191, allocations: 12.22 kB / 0.5062 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.4191, allocations: 2.562 kB / 0.5062 GB, free: 39.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.4192, allocations: 81.34 kB / 0.5063 GB, free: 39.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4192, allocations: 0 / 0.5063 GB, free: 39.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001982/0.4211, allocations: 356.6 kB / 0.5066 GB, free: 39.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.01801/0.4392, allocations: 4.377 MB / 0.5109 GB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4396, allocations: 121.6 kB / 0.511 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4396, allocations: 0.9062 kB / 0.511 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.4397, allocations: 56.75 kB / 0.5111 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.4402, allocations: 40.27 kB / 0.5111 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4425, allocations: 396.2 kB / 0.5115 GB, free: 36.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.4426, allocations: 0.6951 MB / 0.5122 GB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.509e-05/0.4427, allocations: 16.09 kB / 0.5122 GB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.4428, allocations: 28.94 kB / 0.5122 GB, free: 35.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4428, allocations: 0 / 0.5122 GB, free: 35.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/0.4956, allocations: 19.91 MB / 0.5317 GB, free: 26.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/9.621, allocations: 9.375 kB / 0.5317 GB, free: 26.37 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1)