Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007979/0.007979, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001502/0.001502, allocations: 192 kB / 16.67 MB, free: 5.949 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.73/1.73, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5969/0.5969, allocations: 95.48 MB / 365.4 MB, free: 9.758 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.91 kB / 0.5036 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, allocations: 69.09 MB / 0.5711 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5558/0.7152, allocations: 142.4 MB / 0.7101 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.7192, allocations: 2.664 MB / 0.7127 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.7197, allocations: 10.97 kB / 0.7128 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.7204, allocations: 167.5 kB / 0.7129 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.7211, allocations: 265.3 kB / 0.7132 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.7225, allocations: 415.6 kB / 0.7136 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.7235, allocations: 0.7701 MB / 0.7143 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.7239, allocations: 236.3 kB / 0.7145 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.7245, allocations: 333.7 kB / 0.7149 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.7249, allocations: 261.4 kB / 0.7151 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.7249, allocations: 27.91 kB / 0.7151 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.7253, allocations: 164.8 kB / 0.7153 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.7255, allocations: 91.81 kB / 0.7154 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.7257, allocations: 165.9 kB / 0.7155 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.7263, allocations: 483.9 kB / 0.716 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7263, allocations: 0 / 0.716 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7263, allocations: 0 / 0.716 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.7263, allocations: 0 / 0.716 GB, free: 9.973 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001039/0.7274, allocations: 0.6294 MB / 0.7166 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7274, allocations: 21.53 kB / 0.7166 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.7277, allocations: 43.77 kB / 0.7167 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.7281, allocations: 336.5 kB / 0.717 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.7282, allocations: 20.94 kB / 0.717 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.7282, allocations: 28.5 kB / 0.717 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.7288, allocations: 302.8 kB / 0.7173 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7288, allocations: 3.938 kB / 0.7173 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.7288, allocations: 11.94 kB / 0.7174 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.7289, allocations: 12 kB / 0.7174 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.7293, allocations: 197.6 kB / 0.7176 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.7311, allocations: 1.336 MB / 0.7189 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.7314, allocations: 122.7 kB / 0.719 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.7316, allocations: 60.86 kB / 0.719 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.732, allocations: 283.2 kB / 0.7193 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.7321, allocations: 34.56 kB / 0.7193 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.7321, allocations: 4 kB / 0.7193 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.00058/0.7327, allocations: 217 kB / 0.7195 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.7328, allocations: 102.8 kB / 0.7196 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.7331, allocations: 341.7 kB / 0.72 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.7332, allocations: 29.7 kB / 0.72 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.7333, allocations: 188.1 kB / 0.7202 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.7334, allocations: 59.52 kB / 0.7202 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.7335, allocations: 45.7 kB / 0.7203 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7336, allocations: 342.8 kB / 0.7206 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7338, allocations: 67.83 kB / 0.7207 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.734, allocations: 157.7 kB / 0.7208 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.7344, allocations: 227.8 kB / 0.721 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7344, allocations: 4 kB / 0.721 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004744/0.7349, allocations: 253.4 kB / 0.7213 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7349, allocations: 12.03 kB / 0.7213 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.735, allocations: 4 kB / 0.7213 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.735, allocations: 4 kB / 0.7213 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.7353, allocations: 71.88 kB / 0.7214 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7354, allocations: 4 kB / 0.7214 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.7356, allocations: 36.27 kB / 0.7214 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.7356, allocations: 12 kB / 0.7214 GB, free: 4.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (25): * Single equations (assignments): 25 * 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.0001619/0.7358, allocations: 161.6 kB / 0.7216 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.7358, allocations: 31.81 kB / 0.7216 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.7363, allocations: 192.2 kB / 0.7218 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7363, allocations: 7.938 kB / 0.7218 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7363, allocations: 96 / 0.7218 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7363, allocations: 3.984 kB / 0.7218 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.7368, allocations: 302.3 kB / 0.7221 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7368, allocations: 7.984 kB / 0.7221 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.737, allocations: 43.97 kB / 0.7221 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.7371, allocations: 4 kB / 0.7221 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7371, allocations: 4 kB / 0.7221 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7371, allocations: 1.125 kB / 0.7221 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7371, allocations: 3.984 kB / 0.7221 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.7377, allocations: 343.1 kB / 0.7225 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.7378, allocations: 108.9 kB / 0.7226 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.7378, allocations: 0 / 0.7226 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.7381, allocations: 11.98 kB / 0.7226 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7381, allocations: 7.984 kB / 0.7226 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.7382, allocations: 15.98 kB / 0.7226 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002273/0.7384, allocations: 239.2 kB / 0.7228 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7384, allocations: 0 / 0.7228 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000401/0.7388, allocations: 83.94 kB / 0.7229 GB, free: 2.547 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.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 (13): * Single equations (assignments): 13 * 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.0004317/0.7392, allocations: 164.6 kB / 0.7231 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.7397, allocations: 167.3 kB / 0.7232 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7397, allocations: 0 / 0.7232 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.7398, allocations: 59.91 kB / 0.7233 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.7407, allocations: 189 kB / 0.7235 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009323/0.7417, allocations: 0.5576 MB / 0.724 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.7421, allocations: 0.7678 MB / 0.7248 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.7423, allocations: 62.88 kB / 0.7248 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.7423, allocations: 35.42 kB / 0.7249 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.7423, allocations: 7.938 kB / 0.7249 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of Templates: time 0.01107/0.7534, allocations: 5.96 MB / 0.7307 GB, free: 10.62 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)