Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, 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.001642/0.001642, 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.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2419/0.2419, allocations: 46.12 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.002261/0.002261, allocations: 73.34 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4347/0.5609, allocations: 153 MB / 0.6184 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00705/0.568, allocations: 5.327 MB / 0.6236 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.5683, allocations: 0 / 0.6236 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.5688, allocations: 51.61 kB / 0.6236 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.5734, allocations: 1.326 MB / 0.6249 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.5738, allocations: 140.4 kB / 0.6251 GB, free: 3.234 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.5744, allocations: 398.1 kB / 0.6254 GB, free: 2.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.5745, allocations: 13.67 kB / 0.6254 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.5748, allocations: 167.4 kB / 0.6256 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.5752, allocations: 179.4 kB / 0.6258 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.5752, allocations: 8 kB / 0.6258 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.5779, allocations: 1.049 MB / 0.6268 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.5781, allocations: 47.75 kB / 0.6269 GB, free: 1.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.5783, allocations: 103.5 kB / 0.627 GB, free: 1.285 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.5799, allocations: 0.8576 MB / 0.6278 GB, free: 436 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5799, allocations: 4 kB / 0.6278 GB, free: 432 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5799, allocations: 0 / 0.6278 GB, free: 432 kB / 462.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.5799, allocations: 0 / 0.6278 GB, free: 432 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001422/0.5813, allocations: 0.6872 MB / 0.6285 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5814, allocations: 8.031 kB / 0.6285 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.5815, allocations: 62.72 kB / 0.6285 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/0.5897, allocations: 0.6097 MB / 0.6291 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.5902, allocations: 263.5 kB / 0.6294 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.5904, allocations: 123.4 kB / 0.6295 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.5905, allocations: 24 kB / 0.6295 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.5917, allocations: 0.5672 MB / 0.6301 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5918, allocations: 3.938 kB / 0.6301 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.5919, allocations: 12 kB / 0.6301 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.5919, allocations: 8 kB / 0.6301 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5934, allocations: 0.626 MB / 0.6307 GB, free: 13.28 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.5957, allocations: 1.713 MB / 0.6324 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.5961, allocations: 158.5 kB / 0.6325 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5963, allocations: 82.91 kB / 0.6326 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.5981, allocations: 1.479 MB / 0.6341 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.5981, allocations: 34.56 kB / 0.6341 GB, free: 9.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.5981, allocations: 0 / 0.6341 GB, free: 9.379 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001033/0.5992, allocations: 328.4 kB / 0.6344 GB, free: 9.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5992, allocations: 51.41 kB / 0.6345 GB, free: 8.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.5994, allocations: 186.5 kB / 0.6346 GB, free: 8.801 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.5995, allocations: 33.7 kB / 0.6347 GB, free: 8.762 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5996, allocations: 179.3 kB / 0.6348 GB, free: 8.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.5997, allocations: 71.09 kB / 0.6349 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.5998, allocations: 89.88 kB / 0.635 GB, free: 8.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6, allocations: 334.8 kB / 0.6353 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.6002, allocations: 64.72 kB / 0.6354 GB, free: 8.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.6005, allocations: 268.5 kB / 0.6356 GB, free: 7.664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.601, allocations: 370.1 kB / 0.636 GB, free: 7.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.601, allocations: 7.984 kB / 0.636 GB, free: 7.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006633/0.6017, allocations: 361.8 kB / 0.6363 GB, free: 6.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6017, allocations: 8 kB / 0.6363 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6017, allocations: 4 kB / 0.6363 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.6018, allocations: 12.75 kB / 0.6364 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.6022, allocations: 127.8 kB / 0.6365 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004487/0.6027, allocations: 0.6016 MB / 0.6371 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.6029, allocations: 51.52 kB / 0.6371 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.603, allocations: 43.81 kB / 0.6372 GB, free: 5.977 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.6032, allocations: 141.7 kB / 0.6373 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.6032, allocations: 19.8 kB / 0.6373 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6043, allocations: 462.1 kB / 0.6377 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6043, allocations: 3.984 kB / 0.6378 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6043, allocations: 0 / 0.6378 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6043, allocations: 4 kB / 0.6378 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.6053, allocations: 0.639 MB / 0.6384 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6053, allocations: 4.25 kB / 0.6384 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.6055, allocations: 63.91 kB / 0.6384 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6055, allocations: 3.938 kB / 0.6384 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6056, allocations: 11.98 kB / 0.6385 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003834/0.606, allocations: 0.5899 MB / 0.639 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.606, allocations: 3.938 kB / 0.639 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.6064, allocations: 301.2 kB / 0.6393 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6065, allocations: 108.8 kB / 0.6394 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.6066, allocations: 11.92 kB / 0.6394 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.6068, allocations: 12 kB / 0.6395 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.6069, allocations: 23.91 kB / 0.6395 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.6069, allocations: 16.81 kB / 0.6395 GB, free: 3.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.607, allocations: 131.2 kB / 0.6396 GB, free: 3.254 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.607, allocations: 4 kB / 0.6396 GB, free: 3.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006603/0.6077, allocations: 172 kB / 0.6398 GB, free: 3.082 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.609, allocations: 1.004 MB / 0.6408 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.6095, allocations: 229.1 kB / 0.641 GB, free: 1.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6096, allocations: 3.938 kB / 0.641 GB, free: 1.809 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.6098, allocations: 79.84 kB / 0.6411 GB, free: 1.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.6104, allocations: 75.42 kB / 0.6411 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.6145, allocations: 3.044 MB / 0.6441 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.6149, allocations: 0.7246 MB / 0.6448 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008544/0.6157, allocations: 383.1 kB / 0.6452 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.616, allocations: 91.36 kB / 0.6453 GB, free: 13.09 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.616, allocations: 0 / 0.6453 GB, free: 13.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.6508, allocations: 7.87 MB / 0.653 GB, free: 5.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.57, allocations: 14.53 kB / 0.653 GB, free: 5.352 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)