Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001869/0.001869, allocations: 187.5 kB / 16.13 MB, free: 6.652 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 251.6 MB / 0.5088 GB, free: 3.371 MB / 414.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.001665/0.001665, allocations: 68.47 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5582, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2019/0.7602, allocations: 177.3 MB / 0.897 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.7706, allocations: 7.905 MB / 0.9047 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000917/0.7715, allocations: 19.88 kB / 0.9047 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.7724, allocations: 190.8 kB / 0.9049 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.7762, allocations: 1.144 MB / 0.906 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.778, allocations: 0.6722 MB / 0.9067 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.5112/1.289, allocations: 1.58 MB / 0.9082 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/1.29, allocations: 356.2 kB / 0.9086 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/1.293, allocations: 0.7718 MB / 0.9093 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/1.294, allocations: 464.8 kB / 0.9098 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/1.294, allocations: 33.27 kB / 0.9098 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/1.297, allocations: 1.095 MB / 0.9109 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/1.297, allocations: 151.2 kB / 0.911 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/1.297, allocations: 244.7 kB / 0.9112 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/1.299, allocations: 0.9994 MB / 0.9122 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.299, allocations: 0.6562 kB / 0.9122 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/1.299, allocations: 0 / 0.9122 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.587e-06/1.299, allocations: 0.7188 kB / 0.9122 GB, free: 2.977 MB / 0.7169 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.001503/1.301, allocations: 0.8199 MB / 0.913 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.301, allocations: 8.812 kB / 0.913 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/1.302, allocations: 154.6 kB / 0.9132 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/1.302, allocations: 393.4 kB / 0.9135 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.302, allocations: 35.25 kB / 0.9136 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/1.302, allocations: 36.12 kB / 0.9136 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/1.303, allocations: 383.1 kB / 0.914 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.303, allocations: 0.875 kB / 0.914 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/1.303, allocations: 20.25 kB / 0.914 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/1.303, allocations: 10.89 kB / 0.914 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/1.304, allocations: 352.3 kB / 0.9143 GB, free: 18.15 MB / 0.7325 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.002201/1.306, allocations: 1.417 MB / 0.9157 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/1.307, allocations: 326.1 kB / 0.916 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/1.307, allocations: 181 kB / 0.9162 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/1.308, allocations: 311.2 kB / 0.9165 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.308, allocations: 36.92 kB / 0.9165 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/1.308, allocations: 4.547 kB / 0.9165 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001382/1.309, allocations: 0.5467 MB / 0.9171 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.309, allocations: 59.38 kB / 0.9171 GB, free: 17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/1.31, allocations: 377.2 kB / 0.9175 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.31, allocations: 31.27 kB / 0.9175 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.31, allocations: 216.5 kB / 0.9177 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.31, allocations: 114.4 kB / 0.9178 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.31, allocations: 69.94 kB / 0.9179 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.311, allocations: 350.5 kB / 0.9182 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/1.311, allocations: 136.5 kB / 0.9184 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/1.311, allocations: 179.2 kB / 0.9185 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/1.312, allocations: 329.8 kB / 0.9189 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.312, allocations: 4.625 kB / 0.9189 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009057/1.313, allocations: 407.5 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.313, allocations: 5.156 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.313, allocations: 0.5312 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.313, allocations: 2.094 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/1.313, allocations: 69.78 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.313, allocations: 1.562 kB / 0.9193 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/1.314, allocations: 59.42 kB / 0.9194 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/1.314, allocations: 12.62 kB / 0.9194 GB, free: 16.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0002014/1.314, allocations: 168 kB / 0.9196 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/1.314, allocations: 42.84 kB / 0.9196 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.315, allocations: 456.3 kB / 0.92 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.315, allocations: 3.625 kB / 0.92 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.315, allocations: 0.5 kB / 0.92 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.315, allocations: 3.141 kB / 0.92 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/1.317, allocations: 1.054 MB / 0.9211 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.317, allocations: 6.75 kB / 0.9211 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/1.317, allocations: 71.52 kB / 0.9211 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.317, allocations: 6.969 kB / 0.9211 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.317, allocations: 8.812 kB / 0.9212 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.317, allocations: 2.75 kB / 0.9212 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.317, allocations: 2.75 kB / 0.9212 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.318, allocations: 0.748 MB / 0.9219 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/1.318, allocations: 156.5 kB / 0.922 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/1.319, allocations: 10.81 kB / 0.9221 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.319, allocations: 24.56 kB / 0.9221 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/1.319, allocations: 39.2 kB / 0.9221 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.319, allocations: 9.375 kB / 0.9221 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002807/1.319, allocations: 276.3 kB / 0.9224 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.319, allocations: 0 / 0.9224 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005445/1.32, allocations: 123.5 kB / 0.9225 GB, free: 15.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (33): * Single equations (assignments): 33 * 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.0004438/1.32, allocations: 161.5 kB / 0.9227 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007344/1.321, allocations: 350 kB / 0.923 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.321, allocations: 0 / 0.923 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/1.321, allocations: 190.7 kB / 0.9232 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.322, allocations: 217.4 kB / 0.9234 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/1.324, allocations: 1.171 MB / 0.9245 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/1.324, allocations: 0.8312 MB / 0.9253 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003302/1.324, allocations: 106.8 kB / 0.9254 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.325, allocations: 45.03 kB / 0.9255 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/1.325, allocations: 4 kB / 0.9255 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.0126/1.337, allocations: 7.576 MB / 0.9329 GB, free: 13.2 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)