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.0008306/0.0008306, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0009051/0.0009052, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9811/0.9811, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 8 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1718, allocations: 82.32 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.478/0.6498, allocations: 163.1 MB / 0.7467 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.658, allocations: 7.275 MB / 0.7539 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.6586, allocations: 17.62 kB / 0.7539 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.6592, allocations: 171.6 kB / 0.754 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.6616, allocations: 0.8826 MB / 0.7549 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.6632, allocations: 0.5314 MB / 0.7554 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.6644, allocations: 1.296 MB / 0.7567 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.665, allocations: 331.1 kB / 0.757 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.6665, allocations: 0.681 MB / 0.7577 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.6671, allocations: 418.5 kB / 0.7581 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.6671, allocations: 28 kB / 0.7581 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6684, allocations: 0.5223 MB / 0.7586 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.6685, allocations: 147.5 kB / 0.7587 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.6686, allocations: 113.5 kB / 0.7588 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.6694, allocations: 0.5807 MB / 0.7594 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6694, allocations: 0 / 0.7594 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6694, allocations: 0 / 0.7594 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6695, allocations: 0 / 0.7594 GB, free: 12.85 MB / 0.5762 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.001042/0.6705, allocations: 0.7348 MB / 0.7601 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6705, allocations: 8.031 kB / 0.7601 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.843e-05/0.6706, allocations: 78.53 kB / 0.7602 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.6715, allocations: 151.3 kB / 0.7604 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.672, allocations: 363.7 kB / 0.7607 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.672, allocations: 29 kB / 0.7607 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.6721, allocations: 36 kB / 0.7608 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.6728, allocations: 458.4 kB / 0.7612 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6728, allocations: 0 / 0.7612 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.6728, allocations: 19.94 kB / 0.7612 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.6729, allocations: 8 kB / 0.7612 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.6734, allocations: 331.8 kB / 0.7615 GB, free: 10.55 MB / 0.5762 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.002036/0.6755, allocations: 2.023 MB / 0.7635 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.6759, allocations: 238.5 kB / 0.7637 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.6762, allocations: 152.8 kB / 0.7639 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/0.6767, allocations: 323.2 kB / 0.7642 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.6768, allocations: 34.56 kB / 0.7642 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.6768, allocations: 0 / 0.7642 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001093/0.6779, allocations: 471.8 kB / 0.7647 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.6779, allocations: 55.41 kB / 0.7647 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.6783, allocations: 397.9 kB / 0.7651 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6784, allocations: 29.7 kB / 0.7651 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6785, allocations: 236.2 kB / 0.7654 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.6786, allocations: 82.77 kB / 0.7654 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.6786, allocations: 8 kB / 0.7655 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6787, allocations: 350.8 kB / 0.7658 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.679, allocations: 111.9 kB / 0.7659 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.6792, allocations: 196.2 kB / 0.7661 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.6795, allocations: 134.4 kB / 0.7662 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6795, allocations: 0 / 0.7662 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006091/0.6801, allocations: 380.8 kB / 0.7666 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6802, allocations: 4 kB / 0.7666 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6802, allocations: 0 / 0.7666 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6802, allocations: 4 kB / 0.7666 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.6805, allocations: 61.72 kB / 0.7666 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6805, allocations: 4 kB / 0.7666 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.6807, allocations: 59.69 kB / 0.7667 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.6808, allocations: 19.95 kB / 0.7667 GB, free: 4.926 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.681, allocations: 161.8 kB / 0.7669 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.681, allocations: 39.53 kB / 0.7669 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007754/0.6818, allocations: 382.9 kB / 0.7673 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6818, allocations: 4 kB / 0.7673 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6818, allocations: 0 / 0.7673 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6819, allocations: 3.984 kB / 0.7673 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6833, allocations: 0.9509 MB / 0.7682 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6833, allocations: 0 / 0.7682 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.6835, allocations: 55.91 kB / 0.7683 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6836, allocations: 4 kB / 0.7683 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.6836, allocations: 11.95 kB / 0.7683 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6836, allocations: 0 / 0.7683 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6836, allocations: 4 kB / 0.7683 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.6845, allocations: 0.6337 MB / 0.7689 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.6847, allocations: 148.6 kB / 0.769 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.6847, allocations: 11.95 kB / 0.7691 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.685, allocations: 28.03 kB / 0.7691 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.685, allocations: 19.92 kB / 0.7691 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6851, allocations: 12 kB / 0.7691 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002671/0.6853, allocations: 283.1 kB / 0.7694 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6853, allocations: 4 kB / 0.7694 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004306/0.6858, allocations: 111.8 kB / 0.7695 GB, free: 1.945 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/0.6872, allocations: 1.262 MB / 0.7707 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.6878, allocations: 303.8 kB / 0.771 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6878, allocations: 0 / 0.771 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.688, allocations: 155.8 kB / 0.7712 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.689, allocations: 204.5 kB / 0.7714 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.6924, allocations: 2.464 MB / 0.7738 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.6928, allocations: 0.8392 MB / 0.7746 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.6932, allocations: 91.53 kB / 0.7747 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.6934, allocations: 139.4 kB / 0.7748 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.6934, allocations: 4 kB / 0.7748 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.7175, allocations: 10.93 MB / 0.7855 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.7177, allocations: 226.8 kB / 0.7857 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.708, allocations: 0 / 0.7857 GB, free: 1.496 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: