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.1908/0.1916, allocations: 82.21 MB / 0.5935 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5956/0.7873, allocations: 148.2 MB / 0.7382 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006058/0.7934, allocations: 4.219 MB / 0.7424 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.7937, allocations: 12.94 kB / 0.7424 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.7944, allocations: 133.3 kB / 0.7425 GB, free: 15.56 MB / 0.545 GB [/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.001817/0.7962, allocations: 0.513 MB / 0.743 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.7984, allocations: 0.5898 MB / 0.7436 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.7999, allocations: 1.089 MB / 0.7446 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.8004, allocations: 227.1 kB / 0.7449 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.8018, allocations: 0.4945 MB / 0.7453 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.8024, allocations: 355.8 kB / 0.7457 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.8025, allocations: 14.88 kB / 0.7457 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.804, allocations: 0.5247 MB / 0.7462 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.8042, allocations: 146.9 kB / 0.7463 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.8044, allocations: 103.4 kB / 0.7464 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.8051, allocations: 0.6053 MB / 0.747 GB, free: 14.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8052, allocations: 0 / 0.747 GB, free: 14.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8052, allocations: 4 kB / 0.747 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.8052, allocations: 0 / 0.747 GB, free: 14.87 MB / 0.545 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.001073/0.8063, allocations: 0.6553 MB / 0.7477 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.8063, allocations: 9.688 kB / 0.7477 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.807, allocations: 92.59 kB / 0.7478 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.8075, allocations: 320.5 kB / 0.7481 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8075, allocations: 26.77 kB / 0.7481 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.8076, allocations: 37.45 kB / 0.7481 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.8083, allocations: 440.4 kB / 0.7486 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8084, allocations: 1.125 kB / 0.7486 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.8084, allocations: 14.44 kB / 0.7486 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.8084, allocations: 8.062 kB / 0.7486 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.8091, allocations: 356.6 kB / 0.7489 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.8115, allocations: 1.54 MB / 0.7504 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.8117, allocations: 95.8 kB / 0.7505 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.8119, allocations: 78.17 kB / 0.7506 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.8126, allocations: 345.1 kB / 0.7509 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.8127, allocations: 36.75 kB / 0.751 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 4.188e-06/0.8127, allocations: 0 / 0.751 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006723/0.8133, allocations: 255.3 kB / 0.7512 GB, free: 12.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.8134, allocations: 56.38 kB / 0.7513 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.8139, allocations: 433.6 kB / 0.7517 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8139, allocations: 31.89 kB / 0.7517 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.814, allocations: 210.8 kB / 0.7519 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.8141, allocations: 43.69 kB / 0.7519 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.8141, allocations: 6.188 kB / 0.7519 GB, free: 11.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8142, allocations: 349.2 kB / 0.7523 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.8144, allocations: 92.34 kB / 0.7524 GB, free: 11.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.8147, allocations: 196.7 kB / 0.7526 GB, free: 11.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.8149, allocations: 125.2 kB / 0.7527 GB, free: 11.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8149, allocations: 0 / 0.7527 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006101/0.8155, allocations: 354 kB / 0.753 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8156, allocations: 5.094 kB / 0.753 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8156, allocations: 13.77 kB / 0.753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.8156, allocations: 2.844 kB / 0.753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.8159, allocations: 60.72 kB / 0.7531 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.8159, allocations: 13.77 kB / 0.7531 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.8162, allocations: 54.17 kB / 0.7532 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.8163, allocations: 16.22 kB / 0.7532 GB, free: 11.16 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.8164, allocations: 169.8 kB / 0.7533 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.8166, allocations: 41.61 kB / 0.7534 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.817, allocations: 214.5 kB / 0.7536 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.817, allocations: 3.312 kB / 0.7536 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8171, allocations: 1.125 kB / 0.7536 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8171, allocations: 0 / 0.7536 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.8178, allocations: 0.5512 MB / 0.7541 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8178, allocations: 0 / 0.7541 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.8179, allocations: 22.39 kB / 0.7541 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8179, allocations: 0 / 0.7541 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.8179, allocations: 3.062 kB / 0.7541 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8179, allocations: 3.984 kB / 0.7541 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8179, allocations: 2.938 kB / 0.7542 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.8184, allocations: 316.3 kB / 0.7545 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.8186, allocations: 148.5 kB / 0.7546 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.8187, allocations: 0 / 0.7546 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.819, allocations: 21.64 kB / 0.7546 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.819, allocations: 6.922 kB / 0.7546 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.8191, allocations: 13.33 kB / 0.7546 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003504/0.8194, allocations: 338.8 kB / 0.755 GB, free: 10.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8194, allocations: 0 / 0.755 GB, free: 10.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006083/0.82, allocations: 129.5 kB / 0.7551 GB, free: 10 MB / 0.545 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 (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.0005203/0.8206, allocations: 200.1 kB / 0.7553 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.821, allocations: 187.9 kB / 0.7555 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.821, allocations: 6.656 kB / 0.7555 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.8211, allocations: 49.94 kB / 0.7555 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.8221, allocations: 186 kB / 0.7557 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.8232, allocations: 0.7227 MB / 0.7564 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.8235, allocations: 0.7894 MB / 0.7572 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000358/0.8239, allocations: 86.11 kB / 0.7572 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.824, allocations: 29.34 kB / 0.7573 GB, free: 8.48 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.824, allocations: 0 / 0.7573 GB, free: 8.48 MB / 0.545 GB Notification: Performance of Templates: time 0.01359/0.8376, allocations: 7.572 MB / 0.7647 GB, free: 4.73 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: