Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001228/0.001228, allocations: 192.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.636/1.636, allocations: 251.6 MB / 0.5088 GB, free: 3.367 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.628, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2027/0.8307, allocations: 161.1 MB / 0.8811 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.8369, allocations: 4.674 MB / 0.8857 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.8374, allocations: 7.938 kB / 0.8857 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.8379, allocations: 103.3 kB / 0.8858 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.8394, allocations: 0.5097 MB / 0.8863 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.8414, allocations: 0.7076 MB / 0.887 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.8423, allocations: 0.7991 MB / 0.8878 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.8426, allocations: 169.6 kB / 0.8879 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.8436, allocations: 430.4 kB / 0.8884 GB, free: 4 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.8442, allocations: 294.9 kB / 0.8886 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.8443, allocations: 12 kB / 0.8886 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.8462, allocations: 1.169 MB / 0.8898 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.8463, allocations: 87.77 kB / 0.8899 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.8465, allocations: 115.4 kB / 0.89 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.8477, allocations: 0.7597 MB / 0.8907 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8477, allocations: 0 / 0.8907 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8477, allocations: 0 / 0.8907 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8477, allocations: 0 / 0.8907 GB, free: 1.566 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001145/0.8489, allocations: 0.5957 MB / 0.8913 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8489, allocations: 16.03 kB / 0.8913 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007103/0.8496, allocations: 75.59 kB / 0.8914 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.8501, allocations: 282.4 kB / 0.8917 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.8501, allocations: 12 kB / 0.8917 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.8502, allocations: 16 kB / 0.8917 GB, free: 500 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.8507, allocations: 287.5 kB / 0.892 GB, free: 184 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8507, allocations: 0 / 0.892 GB, free: 184 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.8507, allocations: 4 kB / 0.892 GB, free: 180 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8507, allocations: 7.938 kB / 0.892 GB, free: 172 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.8512, allocations: 219.3 kB / 0.8922 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.8529, allocations: 1.238 MB / 0.8934 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.8532, allocations: 177 kB / 0.8936 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.8534, allocations: 108.2 kB / 0.8937 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/0.8542, allocations: 339.2 kB / 0.894 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.8543, allocations: 42.67 kB / 0.894 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.8543, allocations: 0 / 0.894 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000801/0.8551, allocations: 277.1 kB / 0.8943 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.8552, allocations: 166.6 kB / 0.8944 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.8555, allocations: 283 kB / 0.8947 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.8556, allocations: 29.7 kB / 0.8947 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.8557, allocations: 151.5 kB / 0.8949 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.8558, allocations: 43.36 kB / 0.8949 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.8559, allocations: 37.7 kB / 0.895 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.856, allocations: 342.8 kB / 0.8953 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8562, allocations: 67.94 kB / 0.8954 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.8565, allocations: 137.4 kB / 0.8955 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.8569, allocations: 207.5 kB / 0.8957 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.8569, allocations: 0 / 0.8957 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005087/0.8574, allocations: 249.1 kB / 0.8959 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8574, allocations: 8 kB / 0.8959 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8574, allocations: 80 / 0.8959 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8575, allocations: 4 kB / 0.8959 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.8577, allocations: 35.92 kB / 0.896 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.8577, allocations: 11.97 kB / 0.896 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.8579, allocations: 39.92 kB / 0.896 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.8579, allocations: 11.94 kB / 0.896 GB, free: 11.66 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001424/0.8581, allocations: 149.8 kB / 0.8962 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.8582, allocations: 23.72 kB / 0.8962 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/0.8587, allocations: 185.9 kB / 0.8964 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8587, allocations: 0 / 0.8964 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8587, allocations: 7.938 kB / 0.8964 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8587, allocations: 384 / 0.8964 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.8597, allocations: 0.8509 MB / 0.8972 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8597, allocations: 4 kB / 0.8972 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8599, allocations: 28.08 kB / 0.8972 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.8599, allocations: 11.88 kB / 0.8973 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.8599, allocations: 0 / 0.8973 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.8599, allocations: 4 kB / 0.8973 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8599, allocations: 0 / 0.8973 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.8605, allocations: 339.4 kB / 0.8976 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.8606, allocations: 108.8 kB / 0.8977 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.8607, allocations: 15.91 kB / 0.8977 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.8608, allocations: 11.94 kB / 0.8977 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.8609, allocations: 16.05 kB / 0.8977 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8609, allocations: 4 kB / 0.8977 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002295/0.8611, allocations: 229.9 kB / 0.898 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8611, allocations: 0 / 0.898 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004941/0.8616, allocations: 99.92 kB / 0.898 GB, free: 9.449 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0005942/0.8622, allocations: 209.6 kB / 0.8982 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.8627, allocations: 147.9 kB / 0.8984 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8627, allocations: 0 / 0.8984 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.8628, allocations: 68.47 kB / 0.8985 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.8637, allocations: 139.1 kB / 0.8986 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.8645, allocations: 0.5446 MB / 0.8991 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.8649, allocations: 0.7599 MB / 0.8999 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.8651, allocations: 66.86 kB / 0.8999 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.8652, allocations: 19.44 kB / 0.8999 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8652, allocations: 0 / 0.8999 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.009976/0.8752, allocations: 5.5 MB / 0.9053 GB, free: 2.004 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)