Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.005337/0.005337, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001252/0.001252, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 283.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8787/0.8787, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 92.19 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.479/0.63, allocations: 179.4 MB / 0.9411 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007807/0.6378, allocations: 7.827 MB / 0.9487 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.6382, allocations: 19.88 kB / 0.9488 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.6388, allocations: 234.2 kB / 0.949 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.6412, allocations: 1.28 MB / 0.9502 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.6426, allocations: 0.74 MB / 0.951 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.6435, allocations: 1.08 MB / 0.952 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.644, allocations: 409.7 kB / 0.9524 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.6458, allocations: 0.8587 MB / 0.9532 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.6463, allocations: 430.5 kB / 0.9537 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.6464, allocations: 36 kB / 0.9537 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.6477, allocations: 0.9549 MB / 0.9546 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.6478, allocations: 159.5 kB / 0.9548 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.648, allocations: 246.8 kB / 0.955 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.6491, allocations: 0.9483 MB / 0.9559 GB, free: 492 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6491, allocations: 0 / 0.9559 GB, free: 492 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6492, allocations: 4 kB / 0.9559 GB, free: 488 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.6492, allocations: 3.984 kB / 0.9559 GB, free: 484 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001029/0.6502, allocations: 0.8172 MB / 0.9567 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.6502, allocations: 8.031 kB / 0.9567 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.093e-05/0.6503, allocations: 82.47 kB / 0.9568 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.6512, allocations: 155.5 kB / 0.957 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.6518, allocations: 407.6 kB / 0.9574 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6518, allocations: 29 kB / 0.9574 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.6518, allocations: 36 kB / 0.9574 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.6525, allocations: 450.4 kB / 0.9579 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.6525, allocations: 4 kB / 0.9579 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.6526, allocations: 19.94 kB / 0.9579 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6526, allocations: 8 kB / 0.9579 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.6531, allocations: 322.9 kB / 0.9582 GB, free: 14.04 MB / 0.7169 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.001867/0.655, allocations: 2.024 MB / 0.9602 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.6554, allocations: 234.4 kB / 0.9604 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.6556, allocations: 144.8 kB / 0.9605 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.6562, allocations: 315.2 kB / 0.9608 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6562, allocations: 30.56 kB / 0.9609 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.6562, allocations: 0 / 0.9609 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009315/0.6571, allocations: 467.4 kB / 0.9613 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6572, allocations: 55.41 kB / 0.9614 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.6575, allocations: 390 kB / 0.9617 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6576, allocations: 33.7 kB / 0.9618 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.6577, allocations: 236.5 kB / 0.962 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.6578, allocations: 79.28 kB / 0.9621 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.6579, allocations: 65.62 kB / 0.9621 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.658, allocations: 350.7 kB / 0.9625 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6582, allocations: 119.9 kB / 0.9626 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.6585, allocations: 175.3 kB / 0.9627 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.6589, allocations: 313.7 kB / 0.963 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.659, allocations: 0 / 0.963 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005848/0.6596, allocations: 361 kB / 0.9634 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6596, allocations: 9.875 kB / 0.9634 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6596, allocations: 48 / 0.9634 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6596, allocations: 7.984 kB / 0.9634 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.6599, allocations: 59.91 kB / 0.9635 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6599, allocations: 4.219 kB / 0.9635 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.6601, allocations: 43.72 kB / 0.9635 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.6602, allocations: 16 kB / 0.9635 GB, free: 8.23 MB / 0.7169 GB 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 (31): * Single equations (assignments): 31 * 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.0001543/0.6603, allocations: 170.3 kB / 0.9637 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.6604, allocations: 43.72 kB / 0.9637 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.661, allocations: 365 kB / 0.9641 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.661, allocations: 4 kB / 0.9641 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6611, allocations: 7.938 kB / 0.9641 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6611, allocations: 3.938 kB / 0.9641 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.6623, allocations: 0.9409 MB / 0.965 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6624, allocations: 4 kB / 0.965 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6626, allocations: 51.91 kB / 0.9651 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6626, allocations: 4.812 kB / 0.9651 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.6626, allocations: 8 kB / 0.9651 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6626, allocations: 2.578 kB / 0.9651 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6627, allocations: 4 kB / 0.9651 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.6635, allocations: 0.644 MB / 0.9657 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.6637, allocations: 152.7 kB / 0.9659 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.6637, allocations: 11.98 kB / 0.9659 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.6639, allocations: 4.875 kB / 0.9659 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.664, allocations: 19.97 kB / 0.9659 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.664, allocations: 8 kB / 0.9659 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002534/0.6643, allocations: 287.2 kB / 0.9662 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6643, allocations: 0 / 0.9662 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003994/0.6647, allocations: 111.8 kB / 0.9663 GB, free: 5.273 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001365/0.6661, allocations: 1.255 MB / 0.9675 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.6666, allocations: 283.6 kB / 0.9678 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6666, allocations: 0 / 0.9678 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.6669, allocations: 148.6 kB / 0.9679 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.6679, allocations: 229.8 kB / 0.9681 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.672, allocations: 3.807 MB / 0.9719 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.6723, allocations: 0.8311 MB / 0.9727 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.6726, allocations: 103.4 kB / 0.9728 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.6728, allocations: 135.4 kB / 0.9729 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of SimCode: time 8.426e-06/0.6728, allocations: 0 / 0.9729 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.7015, allocations: 11.72 MB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/8.312, allocations: 14.2 kB / 0.9844 GB, free: 2.852 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)