Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2084/0.2104, allocations: 80.82 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7527/0.9632, allocations: 163.2 MB / 0.83 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005891/0.9692, allocations: 4.548 MB / 0.8345 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.9698, allocations: 9.438 kB / 0.8345 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.9707, allocations: 205.8 kB / 0.8347 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.9727, allocations: 0.6982 MB / 0.8354 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.9751, allocations: 0.8524 MB / 0.8362 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.9762, allocations: 0.9182 MB / 0.8371 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.9767, allocations: 296.9 kB / 0.8374 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.9778, allocations: 0.5912 MB / 0.838 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.9783, allocations: 356.2 kB / 0.8383 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.9784, allocations: 37.72 kB / 0.8383 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.9804, allocations: 1.03 MB / 0.8393 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.9807, allocations: 164 kB / 0.8395 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.9809, allocations: 216.9 kB / 0.8397 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.9824, allocations: 0.9821 MB / 0.8407 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9824, allocations: 0 / 0.8407 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9824, allocations: 3.25 kB / 0.8407 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.9824, allocations: 0 / 0.8407 GB, free: 6.684 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001443/0.9839, allocations: 0.7288 MB / 0.8414 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9839, allocations: 8.25 kB / 0.8414 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/0.9847, allocations: 92.23 kB / 0.8415 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.9853, allocations: 347 kB / 0.8418 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.9853, allocations: 24.78 kB / 0.8418 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.9854, allocations: 36.25 kB / 0.8419 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.9862, allocations: 435 kB / 0.8423 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9863, allocations: 0 / 0.8423 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.9863, allocations: 20.34 kB / 0.8423 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.9863, allocations: 7.875 kB / 0.8423 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.9871, allocations: 345.9 kB / 0.8426 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.9901, allocations: 1.532 MB / 0.8441 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.9904, allocations: 91.36 kB / 0.8442 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.9906, allocations: 67.62 kB / 0.8443 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/0.9915, allocations: 329.1 kB / 0.8446 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.9916, allocations: 41.53 kB / 0.8446 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.9916, allocations: 0 / 0.8446 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0008505/0.9924, allocations: 244.2 kB / 0.8449 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.9925, allocations: 51.41 kB / 0.8449 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.9931, allocations: 436.8 kB / 0.8453 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.9931, allocations: 27.61 kB / 0.8454 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.9934, allocations: 216 kB / 0.8456 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.9935, allocations: 36.73 kB / 0.8456 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.9936, allocations: 59.86 kB / 0.8457 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.9938, allocations: 346.5 kB / 0.846 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.994, allocations: 95.89 kB / 0.8461 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.9944, allocations: 197.8 kB / 0.8463 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.995, allocations: 288.4 kB / 0.8465 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.995, allocations: 6.078 kB / 0.8465 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000656/0.9957, allocations: 337.8 kB / 0.8469 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.9957, allocations: 11.47 kB / 0.8469 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9957, allocations: 3 kB / 0.8469 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.9957, allocations: 4.75 kB / 0.8469 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.996, allocations: 57.16 kB / 0.8469 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.996, allocations: 9.219 kB / 0.847 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.9964, allocations: 50.36 kB / 0.847 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.9964, allocations: 14 kB / 0.847 GB, free: 1.668 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (29): * Single equations (assignments): 29 * 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.0001835/0.9966, allocations: 174.8 kB / 0.8472 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.9967, allocations: 33.53 kB / 0.8472 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.9972, allocations: 204.2 kB / 0.8474 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.9972, allocations: 6.078 kB / 0.8474 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9972, allocations: 1.125 kB / 0.8474 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9972, allocations: 3.938 kB / 0.8474 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.998, allocations: 0.5331 MB / 0.8479 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.998, allocations: 2.625 kB / 0.8479 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9981, allocations: 24.23 kB / 0.848 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.9981, allocations: 7.047 kB / 0.848 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.9981, allocations: 0.875 kB / 0.848 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9982, allocations: 6.688 kB / 0.848 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9982, allocations: 0 / 0.848 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.9987, allocations: 299.7 kB / 0.8483 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.9989, allocations: 135.1 kB / 0.8484 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.999, allocations: 64 / 0.8484 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.9993, allocations: 23.16 kB / 0.8484 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.9994, allocations: 9.469 kB / 0.8484 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.9994, allocations: 11.52 kB / 0.8484 GB, free: 468 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004678/0.9999, allocations: 336.3 kB / 0.8488 GB, free: 256 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9999, allocations: 0 / 0.8488 GB, free: 256 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005751/1, allocations: 133.1 kB / 0.8489 GB, free: 236 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0005841/1.001, allocations: 217.5 kB / 0.8491 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004561/1.002, allocations: 186.5 kB / 0.8493 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.6e-05/1.002, allocations: 0 / 0.8493 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/1.002, allocations: 44 kB / 0.8493 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.003, allocations: 197.2 kB / 0.8495 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.004, allocations: 0.6126 MB / 0.8501 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/1.004, allocations: 0.7965 MB / 0.8509 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002874/1.005, allocations: 80.11 kB / 0.8509 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.005, allocations: 31.97 kB / 0.851 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/1.005, allocations: 0 / 0.851 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.01532/1.02, allocations: 8.292 MB / 0.8591 GB, free: 8.598 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)