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.2055/0.2094, allocations: 80.84 MB / 0.6706 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6143/0.8238, allocations: 163.2 MB / 0.83 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005775/0.8296, allocations: 4.551 MB / 0.8345 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.83, allocations: 9.281 kB / 0.8345 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.8307, allocations: 206 kB / 0.8347 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.8323, allocations: 0.6886 MB / 0.8354 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.8342, allocations: 0.8598 MB / 0.8362 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009073/0.8351, allocations: 0.9183 MB / 0.8371 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.8355, allocations: 291.8 kB / 0.8374 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.8367, allocations: 0.6009 MB / 0.838 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.8372, allocations: 352.2 kB / 0.8383 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.8373, allocations: 41.94 kB / 0.8383 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.8388, allocations: 1.031 MB / 0.8393 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.839, allocations: 162.6 kB / 0.8395 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.8392, allocations: 226.5 kB / 0.8397 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.8404, allocations: 0.9701 MB / 0.8407 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8404, allocations: 3.938 kB / 0.8407 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8404, allocations: 0 / 0.8407 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.8404, allocations: 3.938 kB / 0.8407 GB, free: 6.727 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.001216/0.8417, allocations: 0.7302 MB / 0.8414 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.8417, allocations: 10.09 kB / 0.8414 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.8425, allocations: 96.25 kB / 0.8415 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.843, allocations: 347 kB / 0.8418 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.843, allocations: 24.94 kB / 0.8418 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.8431, allocations: 32.16 kB / 0.8419 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.8438, allocations: 436 kB / 0.8423 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8438, allocations: 0 / 0.8423 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.8439, allocations: 20.66 kB / 0.8423 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.8439, allocations: 8 kB / 0.8423 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.8445, allocations: 340.5 kB / 0.8426 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.8469, allocations: 1.525 MB / 0.8441 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.8472, allocations: 94.05 kB / 0.8442 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.8473, allocations: 72.88 kB / 0.8443 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006918/0.848, allocations: 322.2 kB / 0.8446 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.8481, allocations: 41.78 kB / 0.8446 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.8481, allocations: 0 / 0.8446 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006822/0.8488, allocations: 244.5 kB / 0.8449 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.8488, allocations: 51.41 kB / 0.8449 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.8492, allocations: 433 kB / 0.8453 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.8493, allocations: 28.27 kB / 0.8454 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.8494, allocations: 219.7 kB / 0.8456 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.8495, allocations: 43.06 kB / 0.8456 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.8496, allocations: 57.48 kB / 0.8457 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8497, allocations: 342.9 kB / 0.846 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.8499, allocations: 95.33 kB / 0.8461 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.8502, allocations: 206.7 kB / 0.8463 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.8506, allocations: 289.9 kB / 0.8466 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8506, allocations: 0 / 0.8466 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006108/0.8512, allocations: 344.7 kB / 0.8469 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8513, allocations: 8.406 kB / 0.8469 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8513, allocations: 1.781 kB / 0.8469 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8513, allocations: 5.812 kB / 0.8469 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.8515, allocations: 56.97 kB / 0.8469 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8516, allocations: 9.188 kB / 0.847 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.8518, allocations: 51.45 kB / 0.847 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.8519, allocations: 14.31 kB / 0.847 GB, free: 1.711 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.0001696/0.852, allocations: 174.5 kB / 0.8472 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.8522, allocations: 33.69 kB / 0.8472 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.8526, allocations: 197.8 kB / 0.8474 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8527, allocations: 0 / 0.8474 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8527, allocations: 1.125 kB / 0.8474 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8527, allocations: 0 / 0.8474 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000716/0.8534, allocations: 0.5469 MB / 0.8479 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8534, allocations: 0 / 0.8479 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.8535, allocations: 20.86 kB / 0.848 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8535, allocations: 1.781 kB / 0.848 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.8536, allocations: 8.031 kB / 0.848 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8536, allocations: 5.344 kB / 0.848 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.8536, allocations: 0 / 0.848 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.8541, allocations: 294.5 kB / 0.8483 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.8543, allocations: 136.2 kB / 0.8484 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.8543, allocations: 3.062 kB / 0.8484 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.8546, allocations: 27.08 kB / 0.8484 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.8547, allocations: 10.86 kB / 0.8484 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.8547, allocations: 7 kB / 0.8484 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003476/0.8551, allocations: 335.5 kB / 0.8488 GB, free: 312 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8551, allocations: 0 / 0.8488 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006423/0.8557, allocations: 132.5 kB / 0.8489 GB, free: 288 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.0005734/0.8563, allocations: 236.4 kB / 0.8491 GB, free: 124 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.8568, allocations: 176.1 kB / 0.8493 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8568, allocations: 10.12 kB / 0.8493 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.8569, allocations: 49.56 kB / 0.8493 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.8579, allocations: 180.9 kB / 0.8495 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.8588, allocations: 0.6057 MB / 0.8501 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.8592, allocations: 0.7917 MB / 0.8509 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.8595, allocations: 76.62 kB / 0.8509 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.8595, allocations: 31.25 kB / 0.851 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.8595, allocations: 0 / 0.851 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.01406/0.8736, allocations: 8.411 MB / 0.8592 GB, free: 8.492 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)