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.001306/0.001306, allocations: 105.5 kB / 16.35 MB, free: 5.879 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.00126/0.00126, allocations: 192.3 kB / 17.29 MB, free: 5.516 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.853/1.853, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001371/0.001371, allocations: 71.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6842/0.9208, allocations: 179.4 MB / 0.96 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008757/0.9296, allocations: 7.821 MB / 0.9676 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.9302, allocations: 23.88 kB / 0.9676 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.931, allocations: 246.2 kB / 0.9679 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.9339, allocations: 1.221 MB / 0.9691 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.9356, allocations: 0.7315 MB / 0.9698 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.9368, allocations: 1.08 MB / 0.9708 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.9373, allocations: 409.4 kB / 0.9712 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.9394, allocations: 0.8233 MB / 0.972 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.94, allocations: 430.5 kB / 0.9724 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.9401, allocations: 36 kB / 0.9725 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.9417, allocations: 0.9509 MB / 0.9734 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.9418, allocations: 159.5 kB / 0.9735 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.942, allocations: 250.8 kB / 0.9738 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.9432, allocations: 0.9387 MB / 0.9747 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9433, allocations: 0 / 0.9747 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9433, allocations: 0 / 0.9747 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9433, allocations: 0 / 0.9747 GB, free: 7.566 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.001191/0.9445, allocations: 0.8093 MB / 0.9755 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.9445, allocations: 12.03 kB / 0.9755 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/0.9455, allocations: 153 kB / 0.9757 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.946, allocations: 383.4 kB / 0.976 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.9461, allocations: 33 kB / 0.976 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.9462, allocations: 36 kB / 0.9761 GB, free: 6.062 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.9469, allocations: 450.4 kB / 0.9765 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9469, allocations: 0 / 0.9765 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.9469, allocations: 20 kB / 0.9765 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.947, allocations: 11.94 kB / 0.9765 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.9475, allocations: 323.7 kB / 0.9769 GB, free: 5.246 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.002045/0.9496, allocations: 2.004 MB / 0.9788 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.95, allocations: 240.2 kB / 0.979 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.9502, allocations: 148.8 kB / 0.9792 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.9508, allocations: 307.2 kB / 0.9795 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.9509, allocations: 38.56 kB / 0.9795 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.9509, allocations: 3.938 kB / 0.9795 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.00105/0.9519, allocations: 462.1 kB / 0.98 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.952, allocations: 51.41 kB / 0.98 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.9524, allocations: 398 kB / 0.9804 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.9524, allocations: 29.7 kB / 0.9804 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.9526, allocations: 236.2 kB / 0.9806 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.9526, allocations: 82.81 kB / 0.9807 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.9527, allocations: 49.7 kB / 0.9808 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9529, allocations: 358.7 kB / 0.9811 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.9531, allocations: 115.9 kB / 0.9812 GB, free: 492 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.9533, allocations: 179.8 kB / 0.9814 GB, free: 288 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.9538, allocations: 305.1 kB / 0.9817 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.9538, allocations: 4 kB / 0.9817 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005977/0.9545, allocations: 366.1 kB / 0.982 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9545, allocations: 4 kB / 0.982 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9545, allocations: 4 kB / 0.982 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.9545, allocations: 4.219 kB / 0.982 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.9548, allocations: 63.91 kB / 0.9821 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.9548, allocations: 0 / 0.9821 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.9551, allocations: 47.52 kB / 0.9821 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.9551, allocations: 12 kB / 0.9822 GB, free: 15.46 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.0001654/0.9553, allocations: 166.8 kB / 0.9823 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.9554, allocations: 39.53 kB / 0.9824 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/0.956, allocations: 370.9 kB / 0.9827 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.956, allocations: 4 kB / 0.9827 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9561, allocations: 0 / 0.9827 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9561, allocations: 3.984 kB / 0.9827 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.9574, allocations: 0.9423 MB / 0.9836 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9574, allocations: 1.5 kB / 0.9836 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.9577, allocations: 51.91 kB / 0.9837 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9577, allocations: 4 kB / 0.9837 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.9577, allocations: 7.938 kB / 0.9837 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9578, allocations: 4.219 kB / 0.9837 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9578, allocations: 4 kB / 0.9837 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.9586, allocations: 0.6369 MB / 0.9843 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.9588, allocations: 148.5 kB / 0.9845 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.9588, allocations: 4 kB / 0.9845 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.9591, allocations: 11.98 kB / 0.9845 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.9591, allocations: 27.98 kB / 0.9845 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.9592, allocations: 8 kB / 0.9845 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002531/0.9594, allocations: 284.4 kB / 0.9848 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9594, allocations: 0 / 0.9848 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004493/0.9599, allocations: 111.8 kB / 0.9849 GB, free: 12.52 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.0004035/0.9603, allocations: 169.4 kB / 0.9851 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.9609, allocations: 294.5 kB / 0.9853 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9609, allocations: 0 / 0.9853 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.9611, allocations: 151.7 kB / 0.9855 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.9621, allocations: 224.5 kB / 0.9857 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9633, allocations: 0.7942 MB / 0.9865 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.9637, allocations: 0.831 MB / 0.9873 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.964, allocations: 102.2 kB / 0.9874 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.9641, allocations: 39.42 kB / 0.9874 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.9641, allocations: 0 / 0.9874 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of Templates: time 0.01219/0.9763, allocations: 7.599 MB / 0.9948 GB, free: 2.473 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)