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.001235/0.001236, allocations: 111.7 kB / 16.37 MB, free: 6.012 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.001198/0.001198, allocations: 194.9 kB / 17.31 MB, free: 5.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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7636/0.7636, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.355, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4774/0.8325, allocations: 179.4 MB / 0.7609 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007656/0.8402, allocations: 7.831 MB / 0.7686 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.8408, allocations: 21.94 kB / 0.7686 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.8414, allocations: 241.9 kB / 0.7688 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.8443, allocations: 1.217 MB / 0.77 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.846, allocations: 0.735 MB / 0.7707 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.8475, allocations: 1.084 MB / 0.7718 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.8481, allocations: 416.6 kB / 0.7722 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.8511, allocations: 0.8257 MB / 0.773 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000893/0.852, allocations: 436.7 kB / 0.7734 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.8521, allocations: 37.56 kB / 0.7735 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.8541, allocations: 0.9466 MB / 0.7744 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.8542, allocations: 161 kB / 0.7745 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.8545, allocations: 246.9 kB / 0.7748 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.8556, allocations: 0.9405 MB / 0.7757 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8556, allocations: 4.281 kB / 0.7757 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8556, allocations: 0.625 kB / 0.7757 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.8557, allocations: 0.875 kB / 0.7757 GB, free: 1.449 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.0012/0.8569, allocations: 0.7963 MB / 0.7765 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8569, allocations: 10.45 kB / 0.7765 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.8579, allocations: 161.3 kB / 0.7766 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.8585, allocations: 400.9 kB / 0.777 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.8586, allocations: 30.84 kB / 0.7771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.8587, allocations: 36.44 kB / 0.7771 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.8594, allocations: 447.4 kB / 0.7775 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8594, allocations: 0.5938 kB / 0.7775 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.8594, allocations: 22.78 kB / 0.7775 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.8594, allocations: 11.61 kB / 0.7775 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.86, allocations: 315.7 kB / 0.7778 GB, free: 16.52 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.001979/0.862, allocations: 2.016 MB / 0.7798 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.8623, allocations: 235.7 kB / 0.78 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.8626, allocations: 148.8 kB / 0.7802 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.8631, allocations: 310.5 kB / 0.7805 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.8632, allocations: 39.48 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.8632, allocations: 0.75 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009016/0.8641, allocations: 450.6 kB / 0.7809 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.8641, allocations: 60.98 kB / 0.781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.8645, allocations: 397.9 kB / 0.7814 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.8645, allocations: 30.39 kB / 0.7814 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.8647, allocations: 234.2 kB / 0.7816 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.8647, allocations: 88.64 kB / 0.7817 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.8648, allocations: 54.69 kB / 0.7818 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.865, allocations: 354.8 kB / 0.7821 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.8652, allocations: 110.1 kB / 0.7822 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.8654, allocations: 189.7 kB / 0.7824 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.8658, allocations: 303 kB / 0.7827 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8658, allocations: 3.938 kB / 0.7827 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000518/0.8664, allocations: 364.4 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8664, allocations: 4.75 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8664, allocations: 3.125 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8664, allocations: 3.594 kB / 0.7831 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.8667, allocations: 59.81 kB / 0.7831 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8667, allocations: 3.875 kB / 0.7831 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.8669, allocations: 46.75 kB / 0.7832 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.8669, allocations: 9.047 kB / 0.7832 GB, free: 13.84 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.0001495/0.8671, allocations: 168.1 kB / 0.7833 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.8672, allocations: 42.81 kB / 0.7834 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.8678, allocations: 368.6 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8678, allocations: 3.594 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8678, allocations: 0.875 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8678, allocations: 6.938 kB / 0.7837 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.8691, allocations: 0.9404 MB / 0.7846 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8691, allocations: 2.812 kB / 0.7846 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.8693, allocations: 47 kB / 0.7847 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8693, allocations: 6.969 kB / 0.7847 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.8693, allocations: 9.594 kB / 0.7847 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.8693, allocations: 6.969 kB / 0.7847 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8694, allocations: 2.406 kB / 0.7847 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.8701, allocations: 0.6351 MB / 0.7853 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.8703, allocations: 147 kB / 0.7855 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.8703, allocations: 7.625 kB / 0.7855 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.8706, allocations: 13.56 kB / 0.7855 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.8706, allocations: 21.8 kB / 0.7855 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8706, allocations: 9.062 kB / 0.7855 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002309/0.8709, allocations: 284.9 kB / 0.7858 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8709, allocations: 0.8438 kB / 0.7858 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004057/0.8713, allocations: 107.5 kB / 0.7859 GB, free: 12.85 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.0003566/0.8717, allocations: 180.2 kB / 0.7861 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.8722, allocations: 298 kB / 0.7864 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8722, allocations: 2.938 kB / 0.7864 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.8724, allocations: 152.5 kB / 0.7865 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.8733, allocations: 209.7 kB / 0.7867 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.8745, allocations: 0.8191 MB / 0.7875 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.8748, allocations: 0.8284 MB / 0.7883 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.8751, allocations: 94.45 kB / 0.7884 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.8752, allocations: 34.56 kB / 0.7884 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.8752, allocations: 0 / 0.7884 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.01184/0.887, allocations: 7.585 MB / 0.7958 GB, free: 11.25 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)