Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000788/0.000788, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008358/0.0008359, allocations: 168.7 kB / 15.95 MB, free: 204 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.775/1.775, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.6402/0.6402, allocations: 95.63 MB / 366 MB, free: 10.25 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.0006191/0.0006194, allocations: 16 kB / 446.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4841, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5846/1.069, allocations: 130 MB / 0.632 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/1.073, allocations: 2.852 MB / 0.6348 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/1.074, allocations: 11.34 kB / 0.6348 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/1.075, allocations: 122 kB / 0.6349 GB, free: 1.992 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001506/1.076, allocations: 368.8 kB / 0.6353 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/1.078, allocations: 418.7 kB / 0.6357 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/1.08, allocations: 0.926 MB / 0.6366 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/1.081, allocations: 202.8 kB / 0.6368 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/1.082, allocations: 298.3 kB / 0.6371 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/1.082, allocations: 273.8 kB / 0.6373 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/1.082, allocations: 13.03 kB / 0.6373 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/1.083, allocations: 231.5 kB / 0.6376 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/1.083, allocations: 70.62 kB / 0.6376 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003868/1.084, allocations: 91.92 kB / 0.6377 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008602/1.085, allocations: 375.4 kB / 0.6381 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.085, allocations: 0 / 0.6381 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.858e-06/1.085, allocations: 4 kB / 0.6381 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.577e-05/1.085, allocations: 0.9375 kB / 0.6381 GB, free: 17.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001194/1.086, allocations: 0.586 MB / 0.6386 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.086, allocations: 11.95 kB / 0.6387 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/1.086, allocations: 44.95 kB / 0.6387 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/1.087, allocations: 322.7 kB / 0.639 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.087, allocations: 17.62 kB / 0.639 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/1.087, allocations: 22.16 kB / 0.639 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/1.087, allocations: 326.4 kB / 0.6394 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.087, allocations: 0 / 0.6394 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/1.087, allocations: 9.406 kB / 0.6394 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.087, allocations: 6.188 kB / 0.6394 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/1.088, allocations: 221.6 kB / 0.6396 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/1.09, allocations: 1.374 MB / 0.6409 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/1.09, allocations: 122 kB / 0.641 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.09, allocations: 70.72 kB / 0.6411 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.091, allocations: 0.6196 MB / 0.6417 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.091, allocations: 39.5 kB / 0.6418 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/1.091, allocations: 7.938 kB / 0.6418 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006654/1.092, allocations: 248.3 kB / 0.642 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/1.092, allocations: 108.6 kB / 0.6421 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/1.092, allocations: 335.6 kB / 0.6424 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/1.092, allocations: 33.02 kB / 0.6425 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/1.093, allocations: 192.8 kB / 0.6426 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/1.093, allocations: 54.27 kB / 0.6427 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.093, allocations: 7.359 kB / 0.6427 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.093, allocations: 349.2 kB / 0.643 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/1.093, allocations: 65.33 kB / 0.6431 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/1.093, allocations: 177.6 kB / 0.6433 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/1.093, allocations: 94.67 kB / 0.6434 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.093, allocations: 0.75 kB / 0.6434 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00058/1.094, allocations: 281.6 kB / 0.6436 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/1.094, allocations: 6.344 kB / 0.6436 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.094, allocations: 4.031 kB / 0.6436 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.094, allocations: 5.156 kB / 0.6436 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/1.094, allocations: 89.53 kB / 0.6437 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.094, allocations: 8.531 kB / 0.6437 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/1.095, allocations: 38.02 kB / 0.6438 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/1.095, allocations: 16.36 kB / 0.6438 GB, free: 14.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 28 * 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.0001812/1.095, allocations: 158.8 kB / 0.6439 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/1.095, allocations: 31.78 kB / 0.644 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/1.096, allocations: 283.8 kB / 0.6442 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.096, allocations: 3.984 kB / 0.6442 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.096, allocations: 0 / 0.6442 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.096, allocations: 6.094 kB / 0.6442 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/1.096, allocations: 324.7 kB / 0.6446 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.096, allocations: 0 / 0.6446 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/1.096, allocations: 59.75 kB / 0.6446 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.096, allocations: 0 / 0.6446 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/1.096, allocations: 4.375 kB / 0.6446 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/1.096, allocations: 0.9375 kB / 0.6446 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.096, allocations: 2.219 kB / 0.6446 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/1.097, allocations: 282.8 kB / 0.6449 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.097, allocations: 120.9 kB / 0.645 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/1.097, allocations: 6.281 kB / 0.645 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/1.097, allocations: 18.39 kB / 0.645 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.097, allocations: 7.625 kB / 0.645 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.097, allocations: 15.88 kB / 0.645 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002749/1.098, allocations: 267.2 kB / 0.6453 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.098, allocations: 1.75 kB / 0.6453 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004791/1.098, allocations: 112.5 kB / 0.6454 GB, free: 13.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.s) * 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.0005467/1.099, allocations: 203.2 kB / 0.6456 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004874/1.099, allocations: 169.1 kB / 0.6458 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.099, allocations: 4.969 kB / 0.6458 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.099, allocations: 68.41 kB / 0.6458 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/1.1, allocations: 172.5 kB / 0.646 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.101, allocations: 0.6847 MB / 0.6467 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.102, allocations: 0.7792 MB / 0.6474 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002887/1.102, allocations: 76.72 kB / 0.6475 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/1.102, allocations: 39.84 kB / 0.6475 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.102, allocations: 0 / 0.6475 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01158/1.114, allocations: 6.435 MB / 0.6538 GB, free: 11.91 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: