Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_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.0008404/0.0008404, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004849/0.004849, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7401/0.7401, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 8 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3659, allocations: 81.58 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1721/0.5381, allocations: 174.8 MB / 0.7545 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008915/0.547, allocations: 7.748 MB / 0.7621 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.5474, allocations: 19.88 kB / 0.7621 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.548, allocations: 190.8 kB / 0.7623 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.5505, allocations: 1.144 MB / 0.7634 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.552, allocations: 0.6651 MB / 0.764 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.5534, allocations: 1.54 MB / 0.7655 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.5539, allocations: 341.8 kB / 0.7659 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.5562, allocations: 0.7516 MB / 0.7666 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.5567, allocations: 442.4 kB / 0.767 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.5568, allocations: 20 kB / 0.767 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5584, allocations: 1.087 MB / 0.7681 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.5585, allocations: 151.5 kB / 0.7682 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.5587, allocations: 248.5 kB / 0.7685 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.5598, allocations: 0.9735 MB / 0.7694 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5598, allocations: 0 / 0.7694 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5598, allocations: 0 / 0.7694 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.5598, allocations: 0 / 0.7694 GB, free: 1.555 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009965/0.5608, allocations: 0.7248 MB / 0.7701 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5609, allocations: 12.03 kB / 0.7701 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.703e-05/0.561, allocations: 74.53 kB / 0.7702 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.5619, allocations: 147.3 kB / 0.7704 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.5624, allocations: 387.3 kB / 0.7707 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5624, allocations: 29 kB / 0.7708 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.5625, allocations: 36 kB / 0.7708 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.5632, allocations: 462.4 kB / 0.7712 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5632, allocations: 0 / 0.7712 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.5633, allocations: 16 kB / 0.7712 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5633, allocations: 8 kB / 0.7713 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.5639, allocations: 339.6 kB / 0.7716 GB, free: 15.23 MB / 0.6075 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.001965/0.5659, allocations: 2.019 MB / 0.7735 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.5663, allocations: 238.5 kB / 0.7738 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.5666, allocations: 152.8 kB / 0.7739 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.5672, allocations: 319.2 kB / 0.7742 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5672, allocations: 38.56 kB / 0.7743 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.5672, allocations: 0 / 0.7743 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001037/0.5683, allocations: 472.4 kB / 0.7747 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5683, allocations: 59.27 kB / 0.7748 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.5687, allocations: 397.8 kB / 0.7751 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5688, allocations: 33.7 kB / 0.7752 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5689, allocations: 232.2 kB / 0.7754 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.569, allocations: 78.81 kB / 0.7755 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.569, allocations: 33.7 kB / 0.7755 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5692, allocations: 350.8 kB / 0.7758 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.5694, allocations: 119.8 kB / 0.776 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.5697, allocations: 190.8 kB / 0.7761 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.5703, allocations: 310.6 kB / 0.7764 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5703, allocations: 0 / 0.7764 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006415/0.5709, allocations: 384.2 kB / 0.7768 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5709, allocations: 4 kB / 0.7768 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.571, allocations: 4 kB / 0.7768 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.571, allocations: 4.219 kB / 0.7768 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.5713, allocations: 63.91 kB / 0.7769 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5713, allocations: 11.98 kB / 0.7769 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.5716, allocations: 63.44 kB / 0.7769 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5716, allocations: 8 kB / 0.777 GB, free: 9.367 MB / 0.6075 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.0001671/0.5718, allocations: 169.8 kB / 0.7771 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.5719, allocations: 39.53 kB / 0.7772 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.5726, allocations: 373 kB / 0.7775 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5726, allocations: 8 kB / 0.7775 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5726, allocations: 3.938 kB / 0.7775 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5727, allocations: 7.922 kB / 0.7775 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.574, allocations: 0.9459 MB / 0.7785 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.574, allocations: 0 / 0.7785 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5743, allocations: 47.92 kB / 0.7785 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5743, allocations: 4.219 kB / 0.7785 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5743, allocations: 11.98 kB / 0.7785 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5743, allocations: 4 kB / 0.7785 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5744, allocations: 8 kB / 0.7785 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.5753, allocations: 0.6489 MB / 0.7792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5755, allocations: 144.5 kB / 0.7793 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.5755, allocations: 4 kB / 0.7793 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.5758, allocations: 27.97 kB / 0.7793 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.5759, allocations: 23.98 kB / 0.7794 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.5759, allocations: 8 kB / 0.7794 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002869/0.5762, allocations: 287.1 kB / 0.7796 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5762, allocations: 0 / 0.7796 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004452/0.5766, allocations: 115.8 kB / 0.7797 GB, free: 6.363 MB / 0.6075 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.001435/0.5781, allocations: 1.256 MB / 0.781 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.5787, allocations: 295.2 kB / 0.7813 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5787, allocations: 0 / 0.7813 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.579, allocations: 164.6 kB / 0.7814 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5802, allocations: 210.9 kB / 0.7816 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.5849, allocations: 4.027 MB / 0.7855 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5853, allocations: 0.8314 MB / 0.7864 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000304/0.5856, allocations: 95.41 kB / 0.7864 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5858, allocations: 135.4 kB / 0.7866 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.5858, allocations: 4 kB / 0.7866 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3387/0.9245, allocations: 10.93 MB / 0.7972 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.9247, allocations: 236 kB / 0.7975 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.845, allocations: 4 kB / 0.7975 GB, free: 4.242 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)