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.007478/0.007478, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001621/0.001622, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9786/0.9786, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.5852 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4364, allocations: 80.91 MB / 0.6642 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1802/0.6167, allocations: 179.4 MB / 0.8394 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.6255, allocations: 7.822 MB / 0.847 GB, free: 5.754 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.6261, allocations: 19.88 kB / 0.847 GB, free: 5.734 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.6268, allocations: 246.2 kB / 0.8473 GB, free: 5.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.6296, allocations: 1.268 MB / 0.8485 GB, free: 4.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.6315, allocations: 0.7391 MB / 0.8492 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.6327, allocations: 1.083 MB / 0.8503 GB, free: 2.395 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.6333, allocations: 406.8 kB / 0.8507 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.6355, allocations: 0.8672 MB / 0.8515 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.6361, allocations: 434.4 kB / 0.8519 GB, free: 0.707 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.6362, allocations: 36 kB / 0.852 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.6378, allocations: 0.9588 MB / 0.8529 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.638, allocations: 155.5 kB / 0.8531 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.6383, allocations: 246.8 kB / 0.8533 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.6397, allocations: 0.9495 MB / 0.8542 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6398, allocations: 0 / 0.8542 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.126e-06/0.6398, allocations: 0 / 0.8542 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6398, allocations: 3.938 kB / 0.8542 GB, free: 14.36 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.001261/0.641, allocations: 0.8173 MB / 0.855 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6411, allocations: 8.031 kB / 0.855 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.83e-05/0.6412, allocations: 82.53 kB / 0.8551 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.6421, allocations: 147.5 kB / 0.8552 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.6427, allocations: 411.6 kB / 0.8556 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.6427, allocations: 29 kB / 0.8557 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.6428, allocations: 40 kB / 0.8557 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.6435, allocations: 450.3 kB / 0.8561 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6436, allocations: 4 kB / 0.8561 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.6436, allocations: 12 kB / 0.8562 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.6436, allocations: 12 kB / 0.8562 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.6443, allocations: 319.8 kB / 0.8565 GB, free: 11.94 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.002186/0.6465, allocations: 2.02 MB / 0.8584 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.6469, allocations: 238.4 kB / 0.8587 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.6472, allocations: 148.8 kB / 0.8588 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.6477, allocations: 307.2 kB / 0.8591 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.6478, allocations: 34.55 kB / 0.8591 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.6478, allocations: 3.938 kB / 0.8591 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.00101/0.6488, allocations: 457.4 kB / 0.8596 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6488, allocations: 55.41 kB / 0.8596 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.6493, allocations: 401.9 kB / 0.86 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.6493, allocations: 33.7 kB / 0.86 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.6495, allocations: 228.6 kB / 0.8603 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.6496, allocations: 91.2 kB / 0.8603 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.6497, allocations: 53.7 kB / 0.8604 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6498, allocations: 350.8 kB / 0.8607 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.65, allocations: 111.9 kB / 0.8608 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.6504, allocations: 186.7 kB / 0.861 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.6509, allocations: 313.5 kB / 0.8613 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6509, allocations: 0 / 0.8613 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006579/0.6516, allocations: 372.9 kB / 0.8617 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6516, allocations: 8 kB / 0.8617 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6516, allocations: 3.984 kB / 0.8617 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6516, allocations: 4 kB / 0.8617 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.6519, allocations: 64.12 kB / 0.8618 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6519, allocations: 4 kB / 0.8618 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.6522, allocations: 43.66 kB / 0.8618 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.6522, allocations: 12 kB / 0.8618 GB, free: 6.113 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.0001755/0.6524, allocations: 165.7 kB / 0.862 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.6525, allocations: 35.77 kB / 0.862 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.6532, allocations: 376.6 kB / 0.8624 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6532, allocations: 4 kB / 0.8624 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6532, allocations: 4 kB / 0.8624 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6532, allocations: 7.922 kB / 0.8624 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.6546, allocations: 0.937 MB / 0.8633 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.6546, allocations: 4 kB / 0.8633 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6549, allocations: 47.91 kB / 0.8633 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6549, allocations: 0 / 0.8633 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6549, allocations: 12 kB / 0.8634 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6549, allocations: 0 / 0.8634 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6549, allocations: 4.219 kB / 0.8634 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.6558, allocations: 0.6374 MB / 0.864 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.656, allocations: 148.8 kB / 0.8641 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.6561, allocations: 8 kB / 0.8641 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.6563, allocations: 11.98 kB / 0.8641 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.6564, allocations: 19.92 kB / 0.8642 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.6564, allocations: 12.06 kB / 0.8642 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002959/0.6567, allocations: 287.1 kB / 0.8644 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6567, allocations: 0 / 0.8644 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004321/0.6571, allocations: 111.8 kB / 0.8645 GB, free: 3.164 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.001575/0.6587, allocations: 1.239 MB / 0.8658 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006079/0.6593, allocations: 287.2 kB / 0.866 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6593, allocations: 3.938 kB / 0.866 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.6596, allocations: 152.7 kB / 0.8662 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6607, allocations: 223.1 kB / 0.8664 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3212/0.9819, allocations: 3.799 MB / 0.8701 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.9823, allocations: 0.8283 MB / 0.8709 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.9826, allocations: 102.3 kB / 0.871 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.9828, allocations: 137.9 kB / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.9828, allocations: 0 / 0.8711 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/1.019, allocations: 11.67 MB / 0.8825 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.912, allocations: 9.875 kB / 0.8826 GB, free: 187.7 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)