Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.001231/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001394/0.001394, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9886/0.9886, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 71.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 82.05 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3916/0.5488, allocations: 167.4 MB / 0.7579 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.5514, allocations: 1.558 MB / 0.7594 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.5517, allocations: 11.94 kB / 0.7594 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.5522, allocations: 146.9 kB / 0.7595 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5537, allocations: 0.7 MB / 0.7602 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.5551, allocations: 0.5894 MB / 0.7608 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.5558, allocations: 0.7091 MB / 0.7615 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.5561, allocations: 233 kB / 0.7617 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.5566, allocations: 338.7 kB / 0.762 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.5569, allocations: 215.1 kB / 0.7622 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.5569, allocations: 24 kB / 0.7623 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5583, allocations: 0.8728 MB / 0.7631 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5584, allocations: 107.7 kB / 0.7632 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.5586, allocations: 167.1 kB / 0.7634 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009546/0.5595, allocations: 0.7246 MB / 0.7641 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5595, allocations: 4 kB / 0.7641 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5596, allocations: 4 kB / 0.7641 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5596, allocations: 0 / 0.7641 GB, free: 15.44 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008609/0.5604, allocations: 0.6505 MB / 0.7647 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5605, allocations: 8.031 kB / 0.7647 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.5605, allocations: 54.55 kB / 0.7648 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.5617, allocations: 155.4 kB / 0.7649 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.5621, allocations: 309.7 kB / 0.7652 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5622, allocations: 16.44 kB / 0.7653 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.5622, allocations: 24 kB / 0.7653 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.5627, allocations: 275.4 kB / 0.7655 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5627, allocations: 7.938 kB / 0.7655 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.5627, allocations: 8 kB / 0.7656 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5627, allocations: 8 kB / 0.7656 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.5632, allocations: 191.8 kB / 0.7657 GB, free: 13.63 MB / 0.5919 GB 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.001295/0.5645, allocations: 1.211 MB / 0.7669 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.5647, allocations: 142.4 kB / 0.7671 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5649, allocations: 89.3 kB / 0.7671 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.5656, allocations: 307.2 kB / 0.7674 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5657, allocations: 38.5 kB / 0.7675 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.5657, allocations: 0 / 0.7675 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008891/0.5666, allocations: 282.5 kB / 0.7677 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5667, allocations: 55.41 kB / 0.7678 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.567, allocations: 312.5 kB / 0.7681 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.567, allocations: 33.7 kB / 0.7681 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.5672, allocations: 184.1 kB / 0.7683 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.5673, allocations: 51.2 kB / 0.7684 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.5673, allocations: 45.7 kB / 0.7684 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5675, allocations: 338.8 kB / 0.7687 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.5677, allocations: 64.52 kB / 0.7688 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5679, allocations: 127.8 kB / 0.7689 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.5683, allocations: 189 kB / 0.7691 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5683, allocations: 0 / 0.7691 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004801/0.5688, allocations: 243.9 kB / 0.7693 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5688, allocations: 4 kB / 0.7693 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5688, allocations: 4.094 kB / 0.7693 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5689, allocations: 4 kB / 0.7693 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.5691, allocations: 43.91 kB / 0.7694 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5691, allocations: 7.938 kB / 0.7694 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.5693, allocations: 27.73 kB / 0.7694 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.5693, allocations: 8 kB / 0.7694 GB, free: 9.613 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001447/0.5695, allocations: 157.6 kB / 0.7696 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.5695, allocations: 27.62 kB / 0.7696 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.57, allocations: 218 kB / 0.7698 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.57, allocations: 7.938 kB / 0.7698 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.57, allocations: 0 / 0.7698 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.57, allocations: 3.984 kB / 0.7698 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.571, allocations: 0.6795 MB / 0.7705 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5711, allocations: 4 kB / 0.7705 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5712, allocations: 32.88 kB / 0.7705 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.5712, allocations: 8.156 kB / 0.7705 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.5713, allocations: 11.92 kB / 0.7705 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5713, allocations: 4 kB / 0.7705 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5713, allocations: 4 kB / 0.7705 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.5719, allocations: 429.8 kB / 0.7709 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.5721, allocations: 124.8 kB / 0.7711 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.5721, allocations: 12.56 kB / 0.7711 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5723, allocations: 7.984 kB / 0.7711 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.5724, allocations: 20.05 kB / 0.7711 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5724, allocations: 4 kB / 0.7711 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002173/0.5726, allocations: 223.1 kB / 0.7713 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5726, allocations: 0 / 0.7713 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004036/0.573, allocations: 83.89 kB / 0.7714 GB, free: 7.434 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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): 15 * 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 Backend phase and start with SimCode phase: time 0.001262/0.5743, allocations: 1.03 MB / 0.7724 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.5747, allocations: 179.8 kB / 0.7726 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5747, allocations: 0 / 0.7726 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5749, allocations: 87.83 kB / 0.7727 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.5758, allocations: 173.7 kB / 0.7728 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5794, allocations: 2.918 MB / 0.7757 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5797, allocations: 0.7756 MB / 0.7764 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.5799, allocations: 63.72 kB / 0.7765 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5801, allocations: 95.41 kB / 0.7766 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5801, allocations: 0 / 0.7766 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.608, allocations: 8.785 MB / 0.7852 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/8.253, allocations: 10.59 kB / 0.7852 GB, free: 9.367 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)