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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001053/0.001053, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7629/0.7629, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.91 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 80.2 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4775/0.6294, allocations: 177.2 MB / 0.7525 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009953/0.6394, allocations: 7.852 MB / 0.7602 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.6402, allocations: 19.88 kB / 0.7602 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.6409, allocations: 198.8 kB / 0.7604 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.6441, allocations: 1.136 MB / 0.7615 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.6458, allocations: 0.6692 MB / 0.7621 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.6473, allocations: 1.544 MB / 0.7637 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.6478, allocations: 339.7 kB / 0.764 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.6502, allocations: 0.766 MB / 0.7647 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.6508, allocations: 458.3 kB / 0.7652 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.6509, allocations: 28 kB / 0.7652 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.6527, allocations: 1.087 MB / 0.7663 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.6529, allocations: 147.6 kB / 0.7664 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.6531, allocations: 234.8 kB / 0.7666 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.6543, allocations: 0.9737 MB / 0.7676 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6543, allocations: 3.984 kB / 0.7676 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6543, allocations: 4 kB / 0.7676 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.6543, allocations: 4 kB / 0.7676 GB, free: 2.68 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.001107/0.6554, allocations: 0.8103 MB / 0.7684 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6555, allocations: 8.031 kB / 0.7684 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.055e-05/0.6556, allocations: 70.53 kB / 0.7684 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.6565, allocations: 155.3 kB / 0.7686 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.657, allocations: 379.4 kB / 0.769 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.6571, allocations: 25 kB / 0.769 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.6571, allocations: 43.98 kB / 0.769 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.6578, allocations: 454.3 kB / 0.7695 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6578, allocations: 3.938 kB / 0.7695 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.6579, allocations: 16 kB / 0.7695 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.6579, allocations: 12 kB / 0.7695 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.6585, allocations: 331.6 kB / 0.7698 GB, free: 296 kB / 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.001978/0.6605, allocations: 2.004 MB / 0.7718 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.6609, allocations: 238.5 kB / 0.772 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.6612, allocations: 144.8 kB / 0.7721 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.6617, allocations: 307.2 kB / 0.7724 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.6618, allocations: 38.56 kB / 0.7725 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.086e-06/0.6618, allocations: 0 / 0.7725 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009894/0.6628, allocations: 452 kB / 0.7729 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.6628, allocations: 63.27 kB / 0.7729 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.6632, allocations: 397.9 kB / 0.7733 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.6633, allocations: 29.7 kB / 0.7734 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.6634, allocations: 232.2 kB / 0.7736 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.6635, allocations: 82.81 kB / 0.7737 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.6636, allocations: 57.69 kB / 0.7737 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6637, allocations: 350.7 kB / 0.774 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.664, allocations: 107.9 kB / 0.7741 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.6643, allocations: 190.7 kB / 0.7743 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.6648, allocations: 304.7 kB / 0.7746 GB, free: 11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6648, allocations: 0 / 0.7746 GB, free: 11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006108/0.6654, allocations: 368 kB / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6654, allocations: 4 kB / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6654, allocations: 4 kB / 0.775 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6654, allocations: 4 kB / 0.775 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6657, allocations: 59.91 kB / 0.775 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6657, allocations: 4 kB / 0.775 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.666, allocations: 59.72 kB / 0.7751 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.6661, allocations: 8.047 kB / 0.7751 GB, free: 10.5 MB / 0.5919 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.0001695/0.6663, allocations: 173.6 kB / 0.7753 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.6663, allocations: 43.52 kB / 0.7753 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.667, allocations: 372.9 kB / 0.7757 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.667, allocations: 4 kB / 0.7757 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6671, allocations: 0 / 0.7757 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6671, allocations: 4 kB / 0.7757 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.6684, allocations: 0.9293 MB / 0.7766 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6684, allocations: 4 kB / 0.7766 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.6687, allocations: 51.84 kB / 0.7766 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6687, allocations: 4 kB / 0.7766 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.6687, allocations: 8 kB / 0.7766 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6687, allocations: 8.219 kB / 0.7767 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6687, allocations: 0 / 0.7767 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.6696, allocations: 0.6347 MB / 0.7773 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.6698, allocations: 144.6 kB / 0.7774 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.6698, allocations: 11.98 kB / 0.7774 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.6701, allocations: 24.05 kB / 0.7774 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.6702, allocations: 27.91 kB / 0.7775 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6702, allocations: 4 kB / 0.7775 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002685/0.6705, allocations: 283.1 kB / 0.7777 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6705, allocations: 0 / 0.7777 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000446/0.6709, allocations: 119.6 kB / 0.7779 GB, free: 7.527 MB / 0.5919 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.001427/0.6724, allocations: 1.226 MB / 0.7791 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.6729, allocations: 291.7 kB / 0.7793 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6729, allocations: 0 / 0.7793 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.6732, allocations: 151.8 kB / 0.7795 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6743, allocations: 219 kB / 0.7797 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.6789, allocations: 3.974 MB / 0.7836 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.6793, allocations: 0.8236 MB / 0.7844 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.6796, allocations: 99.41 kB / 0.7845 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.6798, allocations: 143.4 kB / 0.7846 GB, free: 416 kB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6798, allocations: 0 / 0.7846 GB, free: 416 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.7013, allocations: 11.08 MB / 0.7954 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.7015, allocations: 233.3 kB / 0.7957 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.582, allocations: 3.172 kB / 0.7957 GB, free: 5.348 MB / 0.6075 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)