Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001097/0.001096, allocations: 97.5 kB / 16.27 MB, free: 6.418 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.001043/0.001043, allocations: 190 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6498/0.9035, allocations: 179.4 MB / 0.9592 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.9139, allocations: 7.827 MB / 0.9669 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.9148, allocations: 20.62 kB / 0.9669 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008157/0.9157, allocations: 246.2 kB / 0.9671 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.9191, allocations: 1.221 MB / 0.9683 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.9212, allocations: 0.7274 MB / 0.969 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.9226, allocations: 1.076 MB / 0.9701 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006411/0.9233, allocations: 405.4 kB / 0.9705 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.9258, allocations: 0.8316 MB / 0.9713 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.9265, allocations: 430.5 kB / 0.9717 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.9266, allocations: 36 kB / 0.9717 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.9286, allocations: 0.9509 MB / 0.9726 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.9288, allocations: 155.6 kB / 0.9728 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.9291, allocations: 246.8 kB / 0.973 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.9306, allocations: 0.9271 MB / 0.9739 GB, free: 8 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9306, allocations: 4 kB / 0.9739 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9306, allocations: 0 / 0.9739 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9307, allocations: 0 / 0.9739 GB, free: 7.996 MB / 0.7637 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.001221/0.9319, allocations: 0.8076 MB / 0.9747 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.9319, allocations: 8.031 kB / 0.9747 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.9329, allocations: 151.2 kB / 0.9749 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.9334, allocations: 395.2 kB / 0.9753 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.9335, allocations: 29 kB / 0.9753 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.9335, allocations: 36 kB / 0.9753 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.9343, allocations: 442.4 kB / 0.9757 GB, free: 6.035 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.9343, allocations: 7.938 kB / 0.9757 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.9343, allocations: 16 kB / 0.9758 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.9344, allocations: 11.94 kB / 0.9758 GB, free: 6 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.935, allocations: 319.8 kB / 0.9761 GB, free: 5.684 MB / 0.7637 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.002219/0.9372, allocations: 2.023 MB / 0.978 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.9376, allocations: 238.4 kB / 0.9783 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.9379, allocations: 152.3 kB / 0.9784 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.9385, allocations: 311.2 kB / 0.9787 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.9385, allocations: 34.56 kB / 0.9788 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.9385, allocations: 0 / 0.9788 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001029/0.9396, allocations: 458.1 kB / 0.9792 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.9396, allocations: 55.41 kB / 0.9792 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.94, allocations: 394 kB / 0.9796 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.9401, allocations: 29.7 kB / 0.9796 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.9402, allocations: 232.2 kB / 0.9799 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.9403, allocations: 88.25 kB / 0.98 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.9404, allocations: 49.7 kB / 0.98 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9406, allocations: 358.7 kB / 0.9803 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.9408, allocations: 111.9 kB / 0.9804 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.9411, allocations: 179.8 kB / 0.9806 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.9416, allocations: 310.7 kB / 0.9809 GB, free: 396 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9416, allocations: 0 / 0.9809 GB, free: 396 kB / 0.7637 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006613/0.9423, allocations: 360.8 kB / 0.9813 GB, free: 28 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9423, allocations: 9.188 kB / 0.9813 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9424, allocations: 4 kB / 0.9813 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9424, allocations: 4 kB / 0.9813 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.9427, allocations: 64.12 kB / 0.9813 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.9427, allocations: 11.69 kB / 0.9813 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.943, allocations: 43.52 kB / 0.9814 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.943, allocations: 12 kB / 0.9814 GB, free: 15.89 MB / 0.7794 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.0001729/0.9432, allocations: 166.8 kB / 0.9816 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.9433, allocations: 43 kB / 0.9816 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.944, allocations: 368.5 kB / 0.982 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.944, allocations: 4 kB / 0.982 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.944, allocations: 0 / 0.982 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.944, allocations: 3.984 kB / 0.982 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.9454, allocations: 0.9409 MB / 0.9829 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9454, allocations: 3.938 kB / 0.9829 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.9457, allocations: 47.97 kB / 0.9829 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9457, allocations: 4 kB / 0.9829 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.9457, allocations: 7.938 kB / 0.9829 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.9457, allocations: 14.09 kB / 0.983 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9457, allocations: 0 / 0.983 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/0.9467, allocations: 0.6317 MB / 0.9836 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.9469, allocations: 148.5 kB / 0.9837 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.9469, allocations: 4 kB / 0.9837 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.9471, allocations: 12.03 kB / 0.9837 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.9472, allocations: 28.03 kB / 0.9838 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.9472, allocations: 8 kB / 0.9838 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002855/0.9475, allocations: 283.1 kB / 0.984 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9475, allocations: 0 / 0.984 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000469/0.948, allocations: 111.8 kB / 0.9841 GB, free: 12.95 MB / 0.7794 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.0004367/0.9484, allocations: 166 kB / 0.9843 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006507/0.9491, allocations: 305.9 kB / 0.9846 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9491, allocations: 7.938 kB / 0.9846 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.9494, allocations: 152.6 kB / 0.9847 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.9505, allocations: 222.2 kB / 0.985 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.9519, allocations: 0.8563 MB / 0.9858 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.9524, allocations: 0.8232 MB / 0.9866 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.9525, allocations: 43.42 kB / 0.9866 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.9525, allocations: 0 / 0.9866 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.01072/0.9632, allocations: 6.797 MB / 0.9933 GB, free: 3.738 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)