Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001026/0.001026, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.532/1.532, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.0005741/0.0005741, allocations: 20 kB / 0.6241 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6528, allocations: 106.3 MB / 0.728 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1728/0.8256, allocations: 140.5 MB / 0.8651 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006589/0.8323, allocations: 5.328 MB / 0.8703 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004931/0.8328, allocations: 7.938 kB / 0.8703 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.8336, allocations: 191.1 kB / 0.8705 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.8352, allocations: 0.5841 MB / 0.8711 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.8364, allocations: 383.2 kB / 0.8715 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.8371, allocations: 444 kB / 0.8719 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.8375, allocations: 221.3 kB / 0.8721 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.8385, allocations: 434.7 kB / 0.8725 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.8388, allocations: 215.2 kB / 0.8727 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.8388, allocations: 12 kB / 0.8727 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.8393, allocations: 207.6 kB / 0.8729 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.8395, allocations: 99.7 kB / 0.873 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.8396, allocations: 81.58 kB / 0.8731 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.8399, allocations: 315.2 kB / 0.8734 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.84, allocations: 3.938 kB / 0.8734 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.154e-06/0.84, allocations: 3.938 kB / 0.8734 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.84, allocations: 0 / 0.8734 GB, free: 6.242 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000973/0.841, allocations: 0.5835 MB / 0.874 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.841, allocations: 8.031 kB / 0.874 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.8414, allocations: 59.59 kB / 0.874 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.8419, allocations: 317.9 kB / 0.8743 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.8419, allocations: 24.56 kB / 0.8744 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.842, allocations: 28 kB / 0.8744 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.8425, allocations: 300.3 kB / 0.8747 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.8426, allocations: 0 / 0.8747 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.8426, allocations: 12 kB / 0.8747 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.8426, allocations: 11.95 kB / 0.8747 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.8431, allocations: 229.5 kB / 0.8749 GB, free: 4.598 MB / 0.6856 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.001559/0.8447, allocations: 1.145 MB / 0.876 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.8451, allocations: 198.5 kB / 0.8762 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.8455, allocations: 133 kB / 0.8764 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.8456, allocations: 42.86 kB / 0.8764 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.8456, allocations: 0 / 0.8764 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.000847/0.8464, allocations: 353.1 kB / 0.8767 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.8465, allocations: 55.41 kB / 0.8768 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.8468, allocations: 300.5 kB / 0.8771 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.8468, allocations: 29.7 kB / 0.8771 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8469, allocations: 168.3 kB / 0.8773 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.847, allocations: 70.98 kB / 0.8773 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.847, allocations: 0 / 0.8773 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8472, allocations: 338.8 kB / 0.8777 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.8473, allocations: 83.95 kB / 0.8777 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.8476, allocations: 120.2 kB / 0.8778 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.8478, allocations: 91.95 kB / 0.8779 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8478, allocations: 0 / 0.8779 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004683/0.8482, allocations: 263.7 kB / 0.8782 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8483, allocations: 7.953 kB / 0.8782 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8483, allocations: 3.938 kB / 0.8782 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8483, allocations: 4.031 kB / 0.8782 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.8485, allocations: 39.98 kB / 0.8782 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8485, allocations: 0 / 0.8782 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.8487, allocations: 35.81 kB / 0.8783 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.8487, allocations: 8 kB / 0.8783 GB, free: 0.9648 MB / 0.6856 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.8489, allocations: 153.8 kB / 0.8784 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.849, allocations: 27.62 kB / 0.8785 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.8495, allocations: 283.7 kB / 0.8787 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8495, allocations: 11.94 kB / 0.8787 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8495, allocations: 0 / 0.8787 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8496, allocations: 3.953 kB / 0.8787 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.8507, allocations: 0.7693 MB / 0.8795 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8507, allocations: 0 / 0.8795 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.8509, allocations: 43.91 kB / 0.8795 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.8509, allocations: 4.219 kB / 0.8795 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.851, allocations: 12 kB / 0.8795 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.851, allocations: 7.938 kB / 0.8796 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.851, allocations: 0 / 0.8796 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.8517, allocations: 0.5969 MB / 0.8801 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.8519, allocations: 124.7 kB / 0.8803 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.8519, allocations: 8 kB / 0.8803 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.8521, allocations: 24.05 kB / 0.8803 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.8522, allocations: 11.98 kB / 0.8803 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.8522, allocations: 8 kB / 0.8803 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000195/0.8524, allocations: 219 kB / 0.8805 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8524, allocations: 0 / 0.8805 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003513/0.8528, allocations: 79.84 kB / 0.8806 GB, free: 14.4 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.8532, allocations: 163.5 kB / 0.8807 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.8537, allocations: 207.8 kB / 0.8809 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8537, allocations: 0 / 0.8809 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.8539, allocations: 116.4 kB / 0.8811 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.8547, allocations: 140.5 kB / 0.8812 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.8558, allocations: 0.799 MB / 0.882 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.8562, allocations: 0.7953 MB / 0.8827 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.8564, allocations: 62.92 kB / 0.8828 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.8564, allocations: 27.44 kB / 0.8828 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.8564, allocations: 4 kB / 0.8828 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of Templates: time 0.009392/0.8658, allocations: 4.933 MB / 0.8877 GB, free: 7.176 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: