Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.132/2.132, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.372/1.372, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005232, allocations: 12 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.9902, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.03498/1.025, allocations: 11.17 MB / 0.5939 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006223/1.032, allocations: 2.135 MB / 0.596 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/1.032, allocations: 9.344 kB / 0.596 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/1.033, allocations: 37.69 kB / 0.596 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/1.033, allocations: 74.61 kB / 0.5961 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/1.037, allocations: 437.9 kB / 0.5965 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/1.037, allocations: 156 kB / 0.5966 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/1.038, allocations: 9.109 kB / 0.5967 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02439/1.062, allocations: 4.292 MB / 0.6008 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/1.063, allocations: 78.22 kB / 0.6009 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/1.063, allocations: 7.031 kB / 0.6009 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008577/1.071, allocations: 1.009 MB / 0.6019 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/1.072, allocations: 34.91 kB / 0.6019 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/1.072, allocations: 53.48 kB / 0.602 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/1.073, allocations: 228.8 kB / 0.6022 GB, free: 8.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.073, allocations: 0 / 0.6022 GB, free: 8.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.326e-06/1.073, allocations: 0 / 0.6022 GB, free: 8.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/1.073, allocations: 0 / 0.6022 GB, free: 8.508 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001522/1.075, allocations: 470.9 kB / 0.6027 GB, free: 8.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.157e-05/1.075, allocations: 9.188 kB / 0.6027 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/1.075, allocations: 56.95 kB / 0.6027 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/1.075, allocations: 23.97 kB / 0.6027 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/1.076, allocations: 215.5 kB / 0.603 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/1.076, allocations: 11.48 kB / 0.603 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/1.076, allocations: 13.84 kB / 0.603 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/1.077, allocations: 243.9 kB / 0.6032 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.077, allocations: 7.938 kB / 0.6032 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/1.077, allocations: 11.05 kB / 0.6032 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/1.077, allocations: 5.938 kB / 0.6032 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.078, allocations: 427.5 kB / 0.6036 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/1.081, allocations: 1.016 MB / 0.6046 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/1.081, allocations: 162.2 kB / 0.6048 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003055/1.084, allocations: 1.86 MB / 0.6066 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/1.085, allocations: 36.59 kB / 0.6066 GB, free: 4.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 4.619e-06/1.085, allocations: 1.219 kB / 0.6066 GB, free: 4.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007914/1.085, allocations: 136 kB / 0.6068 GB, free: 4.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/1.085, allocations: 53.38 kB / 0.6068 GB, free: 3.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/1.086, allocations: 174 kB / 0.607 GB, free: 3.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/1.086, allocations: 31.2 kB / 0.607 GB, free: 3.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.086, allocations: 147.6 kB / 0.6072 GB, free: 3.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/1.086, allocations: 58.97 kB / 0.6072 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/1.086, allocations: 4 kB / 0.6072 GB, free: 3.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.087, allocations: 326.5 kB / 0.6075 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.087, allocations: 33.11 kB / 0.6076 GB, free: 3.273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/1.087, allocations: 141.1 kB / 0.6077 GB, free: 3.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.087, allocations: 54.09 kB / 0.6077 GB, free: 3.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.087, allocations: 5.328 kB / 0.6078 GB, free: 3.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008212/1.088, allocations: 209.1 kB / 0.608 GB, free: 2.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/1.088, allocations: 6.562 kB / 0.608 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/1.088, allocations: 4.344 kB / 0.608 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.676e-05/1.088, allocations: 5.875 kB / 0.608 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/1.089, allocations: 55.88 kB / 0.608 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/1.089, allocations: 10.03 kB / 0.608 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/1.089, allocations: 37.67 kB / 0.6081 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/1.089, allocations: 13.84 kB / 0.6081 GB, free: 2.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002932/1.09, allocations: 127.5 kB / 0.6082 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.09, allocations: 19.83 kB / 0.6082 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/1.09, allocations: 163.5 kB / 0.6084 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/1.091, allocations: 1.625 kB / 0.6084 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/1.091, allocations: 9.359 kB / 0.6084 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.091, allocations: 0 / 0.6084 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/1.091, allocations: 217.5 kB / 0.6086 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.091, allocations: 5.141 kB / 0.6086 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/1.091, allocations: 31.84 kB / 0.6086 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.091, allocations: 0 / 0.6086 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.091, allocations: 1.344 kB / 0.6086 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.091, allocations: 1.281 kB / 0.6086 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.091, allocations: 3.984 kB / 0.6086 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/1.092, allocations: 224.2 kB / 0.6088 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/1.092, allocations: 121.6 kB / 0.609 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/1.092, allocations: 9.047 kB / 0.609 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/1.093, allocations: 21.08 kB / 0.609 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/1.093, allocations: 8.297 kB / 0.609 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/1.093, allocations: 11.33 kB / 0.609 GB, free: 2.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001924/1.093, allocations: 124.3 kB / 0.6091 GB, free: 2.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/1.093, allocations: 1.469 kB / 0.6091 GB, free: 2.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009917/1.094, allocations: 85.25 kB / 0.6092 GB, free: 1.98 MB / 446.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: 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/1.096, allocations: 0.8316 MB / 0.61 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/1.097, allocations: 113.8 kB / 0.6101 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.097, allocations: 0.9688 kB / 0.6101 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/1.097, allocations: 47.81 kB / 0.6102 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/1.097, allocations: 47.77 kB / 0.6102 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/1.102, allocations: 3.27 MB / 0.6134 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/1.103, allocations: 0.7213 MB / 0.6141 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/1.103, allocations: 45.86 kB / 0.6142 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.104, allocations: 45.19 kB / 0.6142 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.654e-06/1.104, allocations: 0 / 0.6142 GB, free: 13.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/1.137, allocations: 4.956 MB / 0.619 GB, free: 10.92 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003579/1.137, allocations: 180 kB / 0.6192 GB, free: 10.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.002, allocations: 0 / 0.6192 GB, free: 10.68 MB / 462.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: