Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",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.001536/0.001536, allocations: 101 kB / 16.27 MB, free: 5.969 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.001719/0.001719, allocations: 190.6 kB / 17.2 MB, free: 5.598 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7199/0.7199, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.83 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3497, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02095/0.3707, allocations: 23.2 MB / 0.5899 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006367/0.3771, allocations: 5.09 MB / 0.5949 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/0.3778, allocations: 27.28 kB / 0.5949 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.3784, allocations: 279.3 kB / 0.5952 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.38, allocations: 0.7889 MB / 0.596 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3814, allocations: 0.7617 MB / 0.5967 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3828, allocations: 1.612 MB / 0.5983 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.3834, allocations: 484.3 kB / 0.5987 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3846, allocations: 0.6278 MB / 0.5994 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.3851, allocations: 447 kB / 0.5998 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.3852, allocations: 45.84 kB / 0.5998 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.3861, allocations: 490.6 kB / 0.6003 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3862, allocations: 131.5 kB / 0.6004 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.3865, allocations: 314.7 kB / 0.6007 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.3874, allocations: 0.9087 MB / 0.6016 GB, free: 7.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3875, allocations: 4 kB / 0.6016 GB, free: 7.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3875, allocations: 0 / 0.6016 GB, free: 7.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3875, allocations: 1.25 kB / 0.6016 GB, free: 7.352 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001125/0.3886, allocations: 0.8841 MB / 0.6025 GB, free: 6.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3887, allocations: 13.98 kB / 0.6025 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.3887, allocations: 71.38 kB / 0.6026 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.389, allocations: 74.78 kB / 0.6026 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.3898, allocations: 0.5457 MB / 0.6032 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3899, allocations: 29 kB / 0.6032 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.3899, allocations: 39.98 kB / 0.6032 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.3905, allocations: 440.7 kB / 0.6036 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3905, allocations: 3.938 kB / 0.6037 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.3905, allocations: 12 kB / 0.6037 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.3906, allocations: 16 kB / 0.6037 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.391, allocations: 303.8 kB / 0.604 GB, free: 5.117 MB / 446.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.001981/0.393, allocations: 1.919 MB / 0.6058 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3934, allocations: 258.8 kB / 0.6061 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3935, allocations: 124.8 kB / 0.6062 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.3941, allocations: 0.8505 MB / 0.607 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.3941, allocations: 34.56 kB / 0.6071 GB, free: 1.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3941, allocations: 0 / 0.6071 GB, free: 1.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005569/0.3947, allocations: 385.8 kB / 0.6074 GB, free: 1.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3947, allocations: 55.41 kB / 0.6075 GB, free: 1.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.3951, allocations: 474.1 kB / 0.6079 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3952, allocations: 33.7 kB / 0.608 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3953, allocations: 263.9 kB / 0.6082 GB, free: 392 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.3954, allocations: 94.66 kB / 0.6083 GB, free: 296 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.3955, allocations: 66.02 kB / 0.6084 GB, free: 224 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3956, allocations: 358.8 kB / 0.6087 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3958, allocations: 96.61 kB / 0.6088 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.396, allocations: 172 kB / 0.609 GB, free: 15.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.3964, allocations: 290.6 kB / 0.6093 GB, free: 15.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3964, allocations: 4 kB / 0.6093 GB, free: 15.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005444/0.397, allocations: 356.8 kB / 0.6096 GB, free: 14.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.397, allocations: 4 kB / 0.6096 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.397, allocations: 4 kB / 0.6096 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.397, allocations: 8.156 kB / 0.6096 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3973, allocations: 75.91 kB / 0.6097 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3973, allocations: 4 kB / 0.6097 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3976, allocations: 39.52 kB / 0.6097 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3976, allocations: 16 kB / 0.6097 GB, free: 14.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001844/0.3978, allocations: 178 kB / 0.6099 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.3979, allocations: 55.34 kB / 0.61 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.3987, allocations: 478.5 kB / 0.6104 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3987, allocations: 7.938 kB / 0.6104 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3987, allocations: 8 kB / 0.6104 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005892/0.3993, allocations: 0.557 MB / 0.611 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.4011, allocations: 1.152 MB / 0.6121 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4011, allocations: 0 / 0.6121 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.4013, allocations: 55.91 kB / 0.6122 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4013, allocations: 4 kB / 0.6122 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4014, allocations: 11.98 kB / 0.6122 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4014, allocations: 4 kB / 0.6122 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4014, allocations: 48 / 0.6122 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.4023, allocations: 0.68 MB / 0.6128 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.4025, allocations: 168.5 kB / 0.613 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.4025, allocations: 8 kB / 0.613 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.4028, allocations: 15.98 kB / 0.613 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4029, allocations: 27.84 kB / 0.6131 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.4029, allocations: 16 kB / 0.6131 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.4033, allocations: 350.8 kB / 0.6134 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4033, allocations: 0 / 0.6134 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006292/0.4039, allocations: 199.7 kB / 0.6136 GB, free: 10.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001535/0.4055, allocations: 1.378 MB / 0.6149 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005236/0.406, allocations: 316.4 kB / 0.6152 GB, free: 8.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.406, allocations: 4.375 kB / 0.6152 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.4062, allocations: 175.7 kB / 0.6154 GB, free: 8.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4078, allocations: 326 kB / 0.6157 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.4127, allocations: 4.296 MB / 0.6199 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4132, allocations: 0.8705 MB / 0.6208 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.4136, allocations: 120.7 kB / 0.6209 GB, free: 2.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4138, allocations: 191.3 kB / 0.6211 GB, free: 2.723 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4138, allocations: 0 / 0.6211 GB, free: 2.723 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.4513, allocations: 16.86 MB / 0.6375 GB, free: 2.137 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.02, allocations: 7.719 kB / 0.6375 GB, free: 2.129 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)