Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007643/0.007643, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.00137/0.00137, allocations: 189 kB / 16.67 MB, free: 6.391 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.5946/0.5946, allocations: 95.48 MB / 365.4 MB, free: 9.805 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.001467/0.001467, allocations: 79.88 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1645, allocations: 69.09 MB / 0.5711 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.592/0.7566, allocations: 145.6 MB / 0.7133 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.7613, allocations: 2.835 MB / 0.7161 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.762, allocations: 11.22 kB / 0.7161 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.7633, allocations: 197.4 kB / 0.7163 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.7652, allocations: 371.6 kB / 0.7166 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.7678, allocations: 498 kB / 0.7171 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.7705, allocations: 0.9345 MB / 0.718 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.7716, allocations: 322.8 kB / 0.7183 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.7731, allocations: 390.5 kB / 0.7187 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.7742, allocations: 354.5 kB / 0.7191 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.7744, allocations: 36 kB / 0.7191 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008254/0.7752, allocations: 167.7 kB / 0.7192 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.7755, allocations: 111.6 kB / 0.7194 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.776, allocations: 222.9 kB / 0.7196 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.7775, allocations: 0.5674 MB / 0.7201 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.7775, allocations: 0 / 0.7201 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.998e-06/0.7775, allocations: 3.938 kB / 0.7201 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.524e-05/0.7776, allocations: 0 / 0.7201 GB, free: 5.828 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00256/0.7801, allocations: 0.7401 MB / 0.7208 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.003e-05/0.7802, allocations: 11.98 kB / 0.7209 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.7808, allocations: 52.45 kB / 0.7209 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.7819, allocations: 375.7 kB / 0.7213 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.7821, allocations: 58.86 kB / 0.7213 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.7822, allocations: 24.56 kB / 0.7213 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7832, allocations: 371.3 kB / 0.7217 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7833, allocations: 0 / 0.7217 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.7833, allocations: 12 kB / 0.7217 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.7834, allocations: 8 kB / 0.7217 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.7842, allocations: 250 kB / 0.722 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.7878, allocations: 1.423 MB / 0.7233 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.7882, allocations: 142.1 kB / 0.7235 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.7885, allocations: 80.75 kB / 0.7236 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.789, allocations: 121 kB / 0.7237 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.7891, allocations: 38.5 kB / 0.7237 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.7891, allocations: 0 / 0.7237 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.001035/0.7901, allocations: 261.4 kB / 0.724 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7903, allocations: 106.8 kB / 0.7241 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.7911, allocations: 401.8 kB / 0.7244 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.7911, allocations: 29.7 kB / 0.7245 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.7914, allocations: 231.6 kB / 0.7247 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.7915, allocations: 51.3 kB / 0.7247 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.7917, allocations: 61.59 kB / 0.7248 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.7919, allocations: 346.8 kB / 0.7251 GB, free: 388 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.7923, allocations: 87.89 kB / 0.7252 GB, free: 300 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.7928, allocations: 197.7 kB / 0.7254 GB, free: 52 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.7936, allocations: 256.7 kB / 0.7257 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7937, allocations: 4 kB / 0.7257 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001038/0.7947, allocations: 326.8 kB / 0.726 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.7948, allocations: 12.34 kB / 0.726 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.7948, allocations: 8 kB / 0.726 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-05/0.7949, allocations: 4 kB / 0.726 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.7954, allocations: 55.91 kB / 0.726 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.7954, allocations: 4 kB / 0.726 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.7959, allocations: 39.58 kB / 0.7261 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.796, allocations: 16 kB / 0.7261 GB, free: 15.3 MB / 0.545 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 (30): * Single equations (assignments): 30 * 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.0003309/0.7963, allocations: 157.7 kB / 0.7263 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.7965, allocations: 43.47 kB / 0.7263 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008548/0.7974, allocations: 224.9 kB / 0.7265 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.7974, allocations: 7.984 kB / 0.7265 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7974, allocations: 0 / 0.7265 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.7974, allocations: 0 / 0.7265 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.7991, allocations: 0.6404 MB / 0.7271 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7991, allocations: 4.031 kB / 0.7271 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.7994, allocations: 33.42 kB / 0.7272 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.7994, allocations: 0 / 0.7272 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.7995, allocations: 7.938 kB / 0.7272 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.7995, allocations: 0 / 0.7272 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7995, allocations: 0 / 0.7272 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.8007, allocations: 411.8 kB / 0.7276 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.8009, allocations: 112.7 kB / 0.7277 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.801, allocations: 4 kB / 0.7277 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.8015, allocations: 15.98 kB / 0.7277 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.8016, allocations: 11.92 kB / 0.7277 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.8017, allocations: 16.05 kB / 0.7277 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005284/0.8022, allocations: 279.1 kB / 0.728 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8023, allocations: 0 / 0.728 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008669/0.8031, allocations: 111.8 kB / 0.7281 GB, free: 13.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.0006936/0.8038, allocations: 162.3 kB / 0.7283 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008642/0.8047, allocations: 203.7 kB / 0.7285 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8048, allocations: 0 / 0.7285 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.8051, allocations: 83.94 kB / 0.7285 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.8068, allocations: 196.3 kB / 0.7287 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.8092, allocations: 0.7177 MB / 0.7294 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.81, allocations: 0.8034 MB / 0.7302 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004381/0.8104, allocations: 75.41 kB / 0.7303 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.8106, allocations: 31.38 kB / 0.7303 GB, free: 10.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.8106, allocations: 4 kB / 0.7303 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Templates: time 0.02336/0.834, allocations: 6.66 MB / 0.7368 GB, free: 4.254 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)