Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.006036/0.006036, allocations: 99.89 kB / 15.73 MB, free: 6.445 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.001418/0.001418, allocations: 194.7 kB / 16.67 MB, free: 6.348 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.6 MB / 426.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4124, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.224/0.6364, allocations: 179.4 MB / 0.8401 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.648, allocations: 7.836 MB / 0.8477 GB, free: 4.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/0.6489, allocations: 19.88 kB / 0.8477 GB, free: 4.961 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.6499, allocations: 246.2 kB / 0.848 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.6534, allocations: 1.221 MB / 0.8492 GB, free: 3.492 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.6554, allocations: 0.7289 MB / 0.8499 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.657, allocations: 1.08 MB / 0.8509 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.6576, allocations: 400.9 kB / 0.8513 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.6602, allocations: 0.8319 MB / 0.8521 GB, free: 476 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.6609, allocations: 438.4 kB / 0.8526 GB, free: 36 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.661, allocations: 36 kB / 0.8526 GB, free: 0 / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.6629, allocations: 0.9511 MB / 0.8535 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.6631, allocations: 167.5 kB / 0.8537 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.6634, allocations: 250.7 kB / 0.8539 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.6652, allocations: 0.9319 MB / 0.8548 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.6652, allocations: 4 kB / 0.8548 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6652, allocations: 3.938 kB / 0.8548 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.6652, allocations: 0 / 0.8548 GB, free: 13.69 MB / 0.6856 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.001272/0.6665, allocations: 0.8211 MB / 0.8556 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6665, allocations: 8.031 kB / 0.8556 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.523e-05/0.6666, allocations: 74.53 kB / 0.8557 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009293/0.6676, allocations: 151.5 kB / 0.8559 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.6682, allocations: 411.6 kB / 0.8563 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.6682, allocations: 29 kB / 0.8563 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.6683, allocations: 36 kB / 0.8563 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.6691, allocations: 458.3 kB / 0.8568 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6692, allocations: 4 kB / 0.8568 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.6692, allocations: 16 kB / 0.8568 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.6692, allocations: 12 kB / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.6698, allocations: 315.8 kB / 0.8571 GB, free: 11.27 MB / 0.6856 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.002286/0.6721, allocations: 2.016 MB / 0.8591 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.6726, allocations: 234.4 kB / 0.8593 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.6729, allocations: 149.8 kB / 0.8594 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.6735, allocations: 311.2 kB / 0.8597 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.6735, allocations: 34.56 kB / 0.8597 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 2.275e-06/0.6735, allocations: 0 / 0.8597 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001058/0.6746, allocations: 458.8 kB / 0.8602 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6747, allocations: 59.39 kB / 0.8602 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.6751, allocations: 397.9 kB / 0.8606 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.6751, allocations: 25.7 kB / 0.8606 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.6753, allocations: 240.5 kB / 0.8609 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.6754, allocations: 87.22 kB / 0.861 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6755, allocations: 65.69 kB / 0.861 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6757, allocations: 350.8 kB / 0.8614 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.676, allocations: 107.9 kB / 0.8615 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.6763, allocations: 184.1 kB / 0.8616 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.6768, allocations: 309.3 kB / 0.8619 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6768, allocations: 0 / 0.8619 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006762/0.6775, allocations: 368.9 kB / 0.8623 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6776, allocations: 4 kB / 0.8623 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6776, allocations: 8.219 kB / 0.8623 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.6776, allocations: 8 kB / 0.8623 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.6779, allocations: 59.84 kB / 0.8624 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6779, allocations: 4 kB / 0.8624 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.6782, allocations: 43.66 kB / 0.8624 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.6782, allocations: 12 kB / 0.8624 GB, free: 5.449 MB / 0.6856 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.0002072/0.6784, allocations: 170.2 kB / 0.8626 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.709e-05/0.6785, allocations: 39.77 kB / 0.8626 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.6792, allocations: 371 kB / 0.863 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6793, allocations: 0 / 0.863 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6793, allocations: 0 / 0.863 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6793, allocations: 7.938 kB / 0.863 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.6808, allocations: 0.9409 MB / 0.8639 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6808, allocations: 0 / 0.8639 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.6811, allocations: 47.91 kB / 0.8639 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.6811, allocations: 4 kB / 0.8639 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.6811, allocations: 12.22 kB / 0.864 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6811, allocations: 8 kB / 0.864 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6812, allocations: 4 kB / 0.864 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.6822, allocations: 0.6309 MB / 0.8646 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.6823, allocations: 140.8 kB / 0.8647 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.6824, allocations: 8 kB / 0.8647 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.6826, allocations: 15.98 kB / 0.8647 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.6827, allocations: 23.97 kB / 0.8648 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.6827, allocations: 15.94 kB / 0.8648 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002928/0.683, allocations: 279.1 kB / 0.865 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.683, allocations: 0 / 0.865 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004646/0.6835, allocations: 115.8 kB / 0.8652 GB, free: 2.5 MB / 0.6856 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.001686/0.6852, allocations: 1.24 MB / 0.8664 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.6858, allocations: 287.6 kB / 0.8666 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6859, allocations: 448 / 0.8666 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.6862, allocations: 159.6 kB / 0.8668 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6873, allocations: 225.7 kB / 0.867 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.317/1.004, allocations: 3.788 MB / 0.8707 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.005, allocations: 0.829 MB / 0.8715 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003482/1.005, allocations: 99.09 kB / 0.8716 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/1.005, allocations: 142.3 kB / 0.8717 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/1.005, allocations: 0 / 0.8717 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/1.045, allocations: 11.68 MB / 0.8832 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/9.499, allocations: 13.02 kB / 0.8832 GB, free: 187.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)