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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001481/0.001481, allocations: 192.4 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9545/0.9545, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 68.27 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1747, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4385/0.6132, allocations: 177 MB / 0.7574 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009396/0.6226, allocations: 7.769 MB / 0.765 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.6233, allocations: 15.94 kB / 0.765 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.624, allocations: 202.8 kB / 0.7652 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.6272, allocations: 1.148 MB / 0.7663 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.6296, allocations: 0.6721 MB / 0.7669 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.6316, allocations: 1.087 MB / 0.768 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.6324, allocations: 373.5 kB / 0.7684 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.6356, allocations: 0.8401 MB / 0.7692 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.6363, allocations: 462.4 kB / 0.7696 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.6364, allocations: 36 kB / 0.7697 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.6383, allocations: 0.9819 MB / 0.7706 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.6385, allocations: 163.6 kB / 0.7708 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.6388, allocations: 242.8 kB / 0.771 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.6403, allocations: 0.9894 MB / 0.772 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6403, allocations: 3.938 kB / 0.772 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6403, allocations: 4 kB / 0.772 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.6403, allocations: 3.938 kB / 0.772 GB, free: 12.48 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.001277/0.6416, allocations: 0.8102 MB / 0.7728 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6417, allocations: 12.03 kB / 0.7728 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/0.6426, allocations: 143.3 kB / 0.7729 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.6432, allocations: 387.3 kB / 0.7733 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.6432, allocations: 29 kB / 0.7733 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.6433, allocations: 36 kB / 0.7733 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.644, allocations: 450.4 kB / 0.7738 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6441, allocations: 0 / 0.7738 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.6441, allocations: 19.94 kB / 0.7738 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6441, allocations: 8 kB / 0.7738 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.6447, allocations: 327.7 kB / 0.7741 GB, free: 10.18 MB / 0.5919 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.002246/0.647, allocations: 2.004 MB / 0.7761 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.6474, allocations: 250.6 kB / 0.7763 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.6477, allocations: 144.8 kB / 0.7764 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.6483, allocations: 311.2 kB / 0.7767 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6484, allocations: 34.56 kB / 0.7768 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.6484, allocations: 0 / 0.7768 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.00105/0.6494, allocations: 445.3 kB / 0.7772 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6495, allocations: 59.34 kB / 0.7773 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.6499, allocations: 402 kB / 0.7776 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.6499, allocations: 29.7 kB / 0.7777 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.6501, allocations: 240.1 kB / 0.7779 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.6502, allocations: 78.8 kB / 0.778 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.6503, allocations: 57.7 kB / 0.778 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6505, allocations: 350.7 kB / 0.7784 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.6507, allocations: 115.9 kB / 0.7785 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.651, allocations: 178.8 kB / 0.7786 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.6515, allocations: 309.7 kB / 0.7789 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6516, allocations: 0 / 0.7789 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006342/0.6522, allocations: 368.7 kB / 0.7793 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6522, allocations: 8 kB / 0.7793 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6522, allocations: 0 / 0.7793 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6523, allocations: 4.875 kB / 0.7793 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.6525, allocations: 55.91 kB / 0.7794 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6526, allocations: 4.547 kB / 0.7794 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.6529, allocations: 59.72 kB / 0.7794 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.6529, allocations: 16 kB / 0.7794 GB, free: 4.379 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.0001926/0.6531, allocations: 166.5 kB / 0.7796 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.6532, allocations: 35.53 kB / 0.7796 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.6539, allocations: 383.6 kB / 0.78 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.6539, allocations: 4 kB / 0.78 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6539, allocations: 0 / 0.78 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6539, allocations: 3.984 kB / 0.78 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.6554, allocations: 0.9331 MB / 0.7809 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6554, allocations: 0 / 0.7809 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.6556, allocations: 43.98 kB / 0.781 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6557, allocations: 7.875 kB / 0.781 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.6557, allocations: 11.98 kB / 0.781 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6557, allocations: 4 kB / 0.781 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6557, allocations: 8.219 kB / 0.781 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.6566, allocations: 0.6285 MB / 0.7816 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6568, allocations: 152.5 kB / 0.7817 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.6569, allocations: 4 kB / 0.7817 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.6571, allocations: 32.91 kB / 0.7818 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.6572, allocations: 11.98 kB / 0.7818 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.6572, allocations: 15.94 kB / 0.7818 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002883/0.6575, allocations: 279.1 kB / 0.7821 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6575, allocations: 0 / 0.7821 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004568/0.658, allocations: 119.8 kB / 0.7822 GB, free: 1.418 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.0004308/0.6584, allocations: 169.9 kB / 0.7823 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006205/0.6591, allocations: 303.9 kB / 0.7826 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6591, allocations: 0 / 0.7826 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.6594, allocations: 156.5 kB / 0.7828 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6604, allocations: 217.3 kB / 0.783 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.6618, allocations: 0.9531 MB / 0.7839 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6623, allocations: 0.831 MB / 0.7847 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000311/0.6626, allocations: 100 kB / 0.7848 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.6627, allocations: 31.44 kB / 0.7849 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6627, allocations: 0 / 0.7849 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of Templates: time 0.01428/0.677, allocations: 7.507 MB / 0.7922 GB, free: 7.27 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)