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.00157/0.00157, 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.001316/0.001316, allocations: 191.7 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.2 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 68.73 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 80.94 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4785/0.6441, allocations: 177 MB / 0.7568 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.6547, allocations: 7.775 MB / 0.7644 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.6556, allocations: 19.88 kB / 0.7644 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.6564, allocations: 198.8 kB / 0.7646 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.6597, allocations: 1.144 MB / 0.7657 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.6616, allocations: 0.6756 MB / 0.7664 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.6631, allocations: 1.083 MB / 0.7674 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006254/0.6637, allocations: 389.4 kB / 0.7678 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.6667, allocations: 0.8345 MB / 0.7686 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.6677, allocations: 462.4 kB / 0.7691 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.6677, allocations: 40 kB / 0.7691 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.6697, allocations: 0.978 MB / 0.7701 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.6699, allocations: 163.6 kB / 0.7702 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.6702, allocations: 250.7 kB / 0.7705 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.6719, allocations: 0.9816 MB / 0.7714 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6719, allocations: 3.938 kB / 0.7714 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6719, allocations: 0 / 0.7714 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.6719, allocations: 0 / 0.7714 GB, free: 13.27 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.001215/0.6731, allocations: 0.8141 MB / 0.7722 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.6732, allocations: 8.031 kB / 0.7722 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.6741, allocations: 155.2 kB / 0.7724 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.6747, allocations: 379.4 kB / 0.7727 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.6748, allocations: 29 kB / 0.7728 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.6748, allocations: 36 kB / 0.7728 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.6757, allocations: 452.8 kB / 0.7732 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6758, allocations: 0 / 0.7732 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.6758, allocations: 23.92 kB / 0.7732 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6758, allocations: 8 kB / 0.7733 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.6765, allocations: 323.7 kB / 0.7736 GB, free: 10.97 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.002354/0.6789, allocations: 2.004 MB / 0.7755 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.6793, allocations: 238.7 kB / 0.7757 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.6796, allocations: 156.8 kB / 0.7759 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.6802, allocations: 303.2 kB / 0.7762 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.6803, allocations: 38.5 kB / 0.7762 GB, free: 8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.6803, allocations: 4 kB / 0.7762 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001064/0.6813, allocations: 445.3 kB / 0.7766 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.6814, allocations: 55.41 kB / 0.7767 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.6819, allocations: 401.9 kB / 0.7771 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.6819, allocations: 33.7 kB / 0.7771 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6821, allocations: 236.2 kB / 0.7773 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.6822, allocations: 78.81 kB / 0.7774 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6823, allocations: 61.64 kB / 0.7775 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6825, allocations: 354.7 kB / 0.7778 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.6827, allocations: 111.9 kB / 0.7779 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.683, allocations: 182.7 kB / 0.7781 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.6836, allocations: 306.4 kB / 0.7784 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6836, allocations: 0 / 0.7784 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006663/0.6842, allocations: 365 kB / 0.7787 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6843, allocations: 12 kB / 0.7787 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6843, allocations: 0 / 0.7787 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6843, allocations: 4 kB / 0.7787 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6846, allocations: 55.91 kB / 0.7788 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.6846, allocations: 4 kB / 0.7788 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.6849, allocations: 67.06 kB / 0.7789 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.685, allocations: 8 kB / 0.7789 GB, free: 5.168 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.0001947/0.6852, allocations: 166.5 kB / 0.779 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.6852, allocations: 39.53 kB / 0.7791 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007467/0.686, allocations: 376.4 kB / 0.7794 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.686, allocations: 48 / 0.7794 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.686, allocations: 7.984 kB / 0.7794 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.686, allocations: 7.984 kB / 0.7794 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.6875, allocations: 0.9384 MB / 0.7804 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6876, allocations: 0 / 0.7804 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.6878, allocations: 47.91 kB / 0.7804 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.6878, allocations: 7.938 kB / 0.7804 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.6879, allocations: 9.25 kB / 0.7804 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.6879, allocations: 4 kB / 0.7804 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6879, allocations: 0 / 0.7804 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.6889, allocations: 0.6297 MB / 0.781 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.689, allocations: 148.5 kB / 0.7812 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.6891, allocations: 8 kB / 0.7812 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.6894, allocations: 27.91 kB / 0.7812 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.6895, allocations: 27.98 kB / 0.7812 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.6895, allocations: 8 kB / 0.7813 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003018/0.6898, allocations: 279.1 kB / 0.7815 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6898, allocations: 0 / 0.7815 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004586/0.6903, allocations: 119.8 kB / 0.7816 GB, free: 2.195 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.0004005/0.6907, allocations: 173.5 kB / 0.7818 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.6913, allocations: 303.4 kB / 0.7821 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6913, allocations: 0 / 0.7821 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.6916, allocations: 148.7 kB / 0.7822 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6927, allocations: 217.6 kB / 0.7824 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.6941, allocations: 0.9484 MB / 0.7834 GB, free: 412 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.6946, allocations: 0.831 MB / 0.7842 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.695, allocations: 97.66 kB / 0.7843 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6951, allocations: 43.42 kB / 0.7843 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.6951, allocations: 0 / 0.7843 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.01594/0.711, allocations: 7.508 MB / 0.7916 GB, free: 8.043 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)