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.001652/0.001652, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 72.02 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3597, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01528/0.375, allocations: 12.96 MB / 0.5928 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.3782, allocations: 2.672 MB / 0.5955 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.3784, allocations: 1.938 kB / 0.5955 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.3788, allocations: 45.14 kB / 0.5955 GB, free: 9.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.3791, allocations: 96.25 kB / 0.5956 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3805, allocations: 0.5035 MB / 0.5961 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.3808, allocations: 235.6 kB / 0.5963 GB, free: 9.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.3808, allocations: 10.31 kB / 0.5963 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009226/0.39, allocations: 3.584 MB / 0.5998 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3902, allocations: 93.5 kB / 0.5999 GB, free: 7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.3903, allocations: 7.469 kB / 0.5999 GB, free: 7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.3929, allocations: 1.067 MB / 0.601 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.393, allocations: 38.42 kB / 0.601 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.3931, allocations: 88.91 kB / 0.6011 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.3938, allocations: 357.5 kB / 0.6014 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3938, allocations: 1.531 kB / 0.6014 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3938, allocations: 0 / 0.6014 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3938, allocations: 0 / 0.6014 GB, free: 6.152 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.0007303/0.3946, allocations: 0.4948 MB / 0.6019 GB, free: 5.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3946, allocations: 8.969 kB / 0.6019 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.3947, allocations: 57.11 kB / 0.602 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.3949, allocations: 22.38 kB / 0.602 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3951, allocations: 228 kB / 0.6022 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3951, allocations: 11.8 kB / 0.6022 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3952, allocations: 18.55 kB / 0.6022 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.3956, allocations: 246 kB / 0.6025 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3956, allocations: 3.938 kB / 0.6025 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3956, allocations: 7.688 kB / 0.6025 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.3956, allocations: 13.31 kB / 0.6025 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.3962, allocations: 428.7 kB / 0.6029 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3973, allocations: 0.9614 MB / 0.6038 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3976, allocations: 158.2 kB / 0.604 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3977, allocations: 70.34 kB / 0.6041 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.399, allocations: 1.836 MB / 0.6059 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.399, allocations: 36 kB / 0.6059 GB, free: 1.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.399, allocations: 0 / 0.6059 GB, free: 1.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003268/0.3994, allocations: 146 kB / 0.606 GB, free: 1.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.3994, allocations: 53.97 kB / 0.6061 GB, free: 1.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3996, allocations: 187 kB / 0.6063 GB, free: 1.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3996, allocations: 32.14 kB / 0.6063 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3997, allocations: 134.2 kB / 0.6064 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3997, allocations: 62.45 kB / 0.6065 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.3998, allocations: 52.98 kB / 0.6065 GB, free: 1.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3999, allocations: 327.2 kB / 0.6068 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.4, allocations: 32.92 kB / 0.6069 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4001, allocations: 141.1 kB / 0.607 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.4004, allocations: 202 kB / 0.6072 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4004, allocations: 1.156 kB / 0.6072 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003291/0.4007, allocations: 212.7 kB / 0.6074 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4007, allocations: 9.156 kB / 0.6074 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4008, allocations: 3.375 kB / 0.6074 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4008, allocations: 9.375 kB / 0.6074 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.401, allocations: 56.81 kB / 0.6075 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.401, allocations: 9.219 kB / 0.6075 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4011, allocations: 23.69 kB / 0.6075 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.4011, allocations: 14.41 kB / 0.6075 GB, free: 392 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4012, allocations: 139 kB / 0.6077 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.4013, allocations: 13.28 kB / 0.6077 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.4016, allocations: 156.3 kB / 0.6078 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4016, allocations: 5.594 kB / 0.6078 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4016, allocations: 0 / 0.6078 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4016, allocations: 0 / 0.6078 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.4019, allocations: 218.2 kB / 0.608 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4019, allocations: 0 / 0.608 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.402, allocations: 31.48 kB / 0.6081 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.402, allocations: 4.906 kB / 0.6081 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.402, allocations: 1.281 kB / 0.6081 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.402, allocations: 5.281 kB / 0.6081 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.402, allocations: 0 / 0.6081 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.4023, allocations: 218.4 kB / 0.6083 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.4024, allocations: 114.8 kB / 0.6084 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4024, allocations: 5.125 kB / 0.6084 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4026, allocations: 15.86 kB / 0.6084 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.4027, allocations: 20.36 kB / 0.6084 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.4027, allocations: 23.8 kB / 0.6085 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.4028, allocations: 117.3 kB / 0.6086 GB, free: 15.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4028, allocations: 0 / 0.6086 GB, free: 15.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.4032, allocations: 77.75 kB / 0.6086 GB, free: 15.44 MB / 462.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 (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.0007254/0.4039, allocations: 0.8374 MB / 0.6095 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4042, allocations: 131.8 kB / 0.6096 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4042, allocations: 0 / 0.6096 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.4043, allocations: 44.64 kB / 0.6096 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.4048, allocations: 52.98 kB / 0.6097 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.4071, allocations: 2.019 MB / 0.6116 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4074, allocations: 0.7164 MB / 0.6123 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.4076, allocations: 45.16 kB / 0.6124 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.4077, allocations: 53.92 kB / 0.6124 GB, free: 12.07 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4077, allocations: 3.938 kB / 0.6124 GB, free: 12.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.4285, allocations: 5.413 MB / 0.6177 GB, free: 9.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.68, allocations: 8.891 kB / 0.6177 GB, free: 9.34 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)