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.001161/0.001161, allocations: 99.7 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.001553/0.001553, allocations: 177.3 kB / 15.94 MB, free: 228 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.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.6175/0.6175, allocations: 95.58 MB / 366 MB, free: 10.38 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.0005534/0.0005535, allocations: 27.91 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3365, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1414/0.478, allocations: 123.7 MB / 0.6258 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4824, allocations: 2.549 MB / 0.6283 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.4831, allocations: 19.81 kB / 0.6284 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.4839, allocations: 163.1 kB / 0.6285 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009953/0.4849, allocations: 326.9 kB / 0.6288 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.4864, allocations: 416.8 kB / 0.6292 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.4876, allocations: 0.5387 MB / 0.6297 GB, free: 468 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.4882, allocations: 255.3 kB / 0.63 GB, free: 208 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2704/0.7586, allocations: 310.8 kB / 0.6303 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.7592, allocations: 241.5 kB / 0.6305 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.7592, allocations: 17.38 kB / 0.6305 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.7596, allocations: 118 kB / 0.6306 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.7598, allocations: 83.75 kB / 0.6307 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.7599, allocations: 102.4 kB / 0.6308 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.7604, allocations: 408.7 kB / 0.6312 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.7604, allocations: 0 / 0.6312 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7604, allocations: 0.7812 kB / 0.6312 GB, free: 1.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.7605, allocations: 2.969 kB / 0.6312 GB, free: 1.699 MB / 494.1 MB 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.001077/0.7615, allocations: 0.6549 MB / 0.6319 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7616, allocations: 13.58 kB / 0.6319 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.7619, allocations: 55.16 kB / 0.6319 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.7624, allocations: 346.3 kB / 0.6323 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.7625, allocations: 54.41 kB / 0.6323 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.7625, allocations: 25.66 kB / 0.6323 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.7632, allocations: 369.8 kB / 0.6327 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.7632, allocations: 2.062 kB / 0.6327 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.7632, allocations: 12.03 kB / 0.6327 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.7633, allocations: 7.688 kB / 0.6327 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.7638, allocations: 257 kB / 0.6329 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.766, allocations: 1.432 MB / 0.6343 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.7663, allocations: 149.7 kB / 0.6345 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.7667, allocations: 132.2 kB / 0.6346 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.7667, allocations: 39.98 kB / 0.6347 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.7667, allocations: 0 / 0.6347 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0006703/0.7674, allocations: 280.1 kB / 0.6349 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.7675, allocations: 105.5 kB / 0.635 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.7679, allocations: 397.5 kB / 0.6354 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.7679, allocations: 30.36 kB / 0.6354 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.7681, allocations: 235 kB / 0.6357 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.7681, allocations: 51.88 kB / 0.6357 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.7681, allocations: 3.938 kB / 0.6357 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7683, allocations: 350.6 kB / 0.636 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.7685, allocations: 84.12 kB / 0.6361 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.7687, allocations: 194 kB / 0.6363 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.7689, allocations: 114.3 kB / 0.6364 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7689, allocations: 2.844 kB / 0.6364 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005685/0.7695, allocations: 329.8 kB / 0.6367 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7696, allocations: 11.38 kB / 0.6367 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7696, allocations: 3.219 kB / 0.6367 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7696, allocations: 8.594 kB / 0.6368 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.7698, allocations: 58.11 kB / 0.6368 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7699, allocations: 5.125 kB / 0.6368 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.7701, allocations: 51.28 kB / 0.6369 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.7702, allocations: 18.58 kB / 0.6369 GB, free: 14.8 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.7704, allocations: 154.1 kB / 0.637 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.7704, allocations: 38.75 kB / 0.6371 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.7709, allocations: 249.9 kB / 0.6373 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.7709, allocations: 9.031 kB / 0.6373 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.771, allocations: 0 / 0.6373 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.771, allocations: 2.125 kB / 0.6373 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009166/0.7719, allocations: 0.6299 MB / 0.6379 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.7719, allocations: 4.828 kB / 0.6379 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.7721, allocations: 32.64 kB / 0.638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7721, allocations: 3.266 kB / 0.638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.7721, allocations: 7.562 kB / 0.638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7721, allocations: 0 / 0.638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7721, allocations: 4.062 kB / 0.638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.7728, allocations: 452.4 kB / 0.6384 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.7729, allocations: 120.6 kB / 0.6385 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.7729, allocations: 3.078 kB / 0.6385 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.7732, allocations: 28.91 kB / 0.6386 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.7733, allocations: 10.58 kB / 0.6386 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.7733, allocations: 11.17 kB / 0.6386 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003079/0.7736, allocations: 272.1 kB / 0.6388 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7736, allocations: 0 / 0.6388 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004718/0.7741, allocations: 108 kB / 0.6389 GB, free: 13.86 MB / 0.4981 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 (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.7745, allocations: 158.6 kB / 0.6391 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.775, allocations: 208.8 kB / 0.6393 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.775, allocations: 5.875 kB / 0.6393 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.7752, allocations: 83.27 kB / 0.6394 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.7761, allocations: 180 kB / 0.6395 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.7773, allocations: 0.8792 MB / 0.6404 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.7781, allocations: 0.8046 MB / 0.6412 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.7784, allocations: 69.48 kB / 0.6413 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.7784, allocations: 31.23 kB / 0.6413 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.7784, allocations: 4 kB / 0.6413 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.01185/0.7903, allocations: 6.051 MB / 0.6472 GB, free: 12.12 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: