Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.226/2.226, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001181, allocations: 183.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009691, allocations: 113.9 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 49.59 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2724, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1634/0.4359, allocations: 167.2 MB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.4451, allocations: 7.193 MB / 1.388 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.4458, allocations: 11.94 kB / 1.388 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.4466, allocations: 139.1 kB / 1.389 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.4503, allocations: 1.191 MB / 1.39 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.4521, allocations: 0.5721 MB / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.4534, allocations: 1.049 MB / 1.391 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005342/0.454, allocations: 269.9 kB / 1.392 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.4554, allocations: 0.5253 MB / 1.392 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009911/0.4564, allocations: 426.5 kB / 1.392 GB, free: 2 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.4565, allocations: 20 kB / 1.392 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.4591, allocations: 1.469 MB / 1.394 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.4592, allocations: 111.6 kB / 1.394 GB, free: 408 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.4595, allocations: 175.1 kB / 1.394 GB, free: 232 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.4614, allocations: 0.9777 MB / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4614, allocations: 0 / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4614, allocations: 0 / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4614, allocations: 0 / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001054/0.4625, allocations: 0.6973 MB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4625, allocations: 11.98 kB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.4635, allocations: 127.4 kB / 1.396 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.4639, allocations: 333.1 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.464, allocations: 50.27 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.464, allocations: 24 kB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.4646, allocations: 366.1 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4647, allocations: 4 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.4647, allocations: 11.98 kB / 1.397 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.4647, allocations: 8 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.4652, allocations: 270 kB / 1.397 GB, free: 13.25 MB / 0.9011 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.001755/0.467, allocations: 1.496 MB / 1.398 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.4673, allocations: 190.6 kB / 1.399 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.4676, allocations: 124.8 kB / 1.399 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/0.4685, allocations: 0.4975 MB / 1.399 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4685, allocations: 42.48 kB / 1.399 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4685, allocations: 0 / 1.399 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0008686/0.4694, allocations: 351.2 kB / 1.4 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4695, allocations: 59.41 kB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.4698, allocations: 316.5 kB / 1.4 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4698, allocations: 25.7 kB / 1.4 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4699, allocations: 196 kB / 1.4 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.47, allocations: 43.36 kB / 1.4 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.47, allocations: 41.7 kB / 1.4 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4702, allocations: 338.8 kB / 1.401 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4704, allocations: 91.92 kB / 1.401 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.4706, allocations: 147.2 kB / 1.401 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.471, allocations: 241.8 kB / 1.401 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.471, allocations: 4 kB / 1.401 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005262/0.4715, allocations: 285 kB / 1.401 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4716, allocations: 8 kB / 1.401 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4716, allocations: 0 / 1.401 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4716, allocations: 7.938 kB / 1.401 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.4718, allocations: 39.97 kB / 1.401 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4718, allocations: 3.938 kB / 1.401 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4721, allocations: 43.83 kB / 1.401 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.4721, allocations: 8 kB / 1.401 GB, free: 8.367 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001408/0.4723, allocations: 154.4 kB / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.4724, allocations: 31.61 kB / 1.402 GB, free: 8.176 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.473, allocations: 320.1 kB / 1.402 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.473, allocations: 0 / 1.402 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4731, allocations: 0 / 1.402 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4731, allocations: 4 kB / 1.402 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4743, allocations: 0.8005 MB / 1.403 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.4743, allocations: 4 kB / 1.403 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.4745, allocations: 35.92 kB / 1.403 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4745, allocations: 4 kB / 1.403 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.4746, allocations: 11.92 kB / 1.403 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4746, allocations: 4.094 kB / 1.403 GB, free: 6.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4746, allocations: 8.094 kB / 1.403 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4756, allocations: 1.122 MB / 1.404 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.4758, allocations: 136.7 kB / 1.404 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.4758, allocations: 4 kB / 1.404 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.4761, allocations: 27.97 kB / 1.404 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.4762, allocations: 19.86 kB / 1.404 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4762, allocations: 12 kB / 1.404 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002142/0.4764, allocations: 227 kB / 1.404 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4764, allocations: 0 / 1.404 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005789/0.477, allocations: 123.8 kB / 1.404 GB, free: 5.152 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005723/0.4776, allocations: 229.6 kB / 1.405 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4781, allocations: 211.7 kB / 1.405 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4781, allocations: 4 kB / 1.405 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.4783, allocations: 124.6 kB / 1.405 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.4792, allocations: 156 kB / 1.405 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4803, allocations: 0.8593 MB / 1.406 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4806, allocations: 0.7876 MB / 1.407 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.4809, allocations: 94.8 kB / 1.407 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.481, allocations: 27.44 kB / 1.407 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.481, allocations: 0 / 1.407 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of Templates: time 0.01124/0.4923, allocations: 7.139 MB / 1.414 GB, free: 11.52 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)