Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001196/0.001196, allocations: 94.44 kB / 16.67 MB, free: 5.859 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.001504/0.001504, allocations: 181.1 kB / 17.57 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7014/0.7014, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4012, allocations: 77.52 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1711/0.5723, allocations: 158.9 MB / 0.7157 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006063/0.5784, allocations: 4.567 MB / 0.7202 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.5789, allocations: 11.94 kB / 0.7202 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.5794, allocations: 91.36 kB / 0.7203 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.581, allocations: 0.5097 MB / 0.7208 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.583, allocations: 0.7081 MB / 0.7215 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.5841, allocations: 0.8147 MB / 0.7223 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.5845, allocations: 173.5 kB / 0.7225 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5857, allocations: 430.3 kB / 0.7229 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.5864, allocations: 283 kB / 0.7231 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.5865, allocations: 19.94 kB / 0.7232 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.5886, allocations: 1.161 MB / 0.7243 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.5888, allocations: 79.72 kB / 0.7244 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.589, allocations: 141.1 kB / 0.7245 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.5899, allocations: 0.495 MB / 0.725 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5899, allocations: 0 / 0.725 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5899, allocations: 0 / 0.725 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.5899, allocations: 4 kB / 0.725 GB, free: 10.48 MB / 0.5606 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.0009969/0.5909, allocations: 0.5567 MB / 0.7255 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.591, allocations: 11.97 kB / 0.7255 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.5917, allocations: 79.58 kB / 0.7256 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.5922, allocations: 283.3 kB / 0.7259 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.5922, allocations: 13.08 kB / 0.7259 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.5923, allocations: 20 kB / 0.7259 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.5928, allocations: 295.4 kB / 0.7262 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5928, allocations: 0 / 0.7262 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.5929, allocations: 4 kB / 0.7262 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5929, allocations: 7.938 kB / 0.7262 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.5933, allocations: 223.5 kB / 0.7264 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.595, allocations: 1.249 MB / 0.7276 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.5953, allocations: 181 kB / 0.7278 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5956, allocations: 116.2 kB / 0.7279 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007854/0.5964, allocations: 343.2 kB / 0.7283 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5964, allocations: 42.67 kB / 0.7283 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.5964, allocations: 0 / 0.7283 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.000807/0.5972, allocations: 297.1 kB / 0.7286 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.5973, allocations: 162.7 kB / 0.7287 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.5976, allocations: 287 kB / 0.729 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.5976, allocations: 29.7 kB / 0.729 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5978, allocations: 147.8 kB / 0.7292 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.5978, allocations: 43.36 kB / 0.7292 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.5978, allocations: 17.72 kB / 0.7292 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.598, allocations: 342.8 kB / 0.7296 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.5981, allocations: 75.94 kB / 0.7296 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.5984, allocations: 150.2 kB / 0.7298 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.5988, allocations: 223.5 kB / 0.73 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5988, allocations: 0 / 0.73 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005309/0.5993, allocations: 261 kB / 0.7302 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5994, allocations: 8 kB / 0.7302 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5994, allocations: 4 kB / 0.7303 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5994, allocations: 0 / 0.7303 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.5996, allocations: 44.17 kB / 0.7303 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.5996, allocations: 4 kB / 0.7303 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.5999, allocations: 35.67 kB / 0.7303 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.5999, allocations: 19.92 kB / 0.7303 GB, free: 4.527 MB / 0.5606 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.0001493/0.6001, allocations: 145.8 kB / 0.7305 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6002, allocations: 23.72 kB / 0.7305 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.6007, allocations: 210.2 kB / 0.7307 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6007, allocations: 0 / 0.7307 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6007, allocations: 4 kB / 0.7307 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6007, allocations: 0 / 0.7307 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.6017, allocations: 0.8665 MB / 0.7316 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6018, allocations: 3.938 kB / 0.7316 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.6019, allocations: 28.14 kB / 0.7316 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.6019, allocations: 7.938 kB / 0.7316 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6019, allocations: 0 / 0.7316 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6019, allocations: 4 kB / 0.7316 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6019, allocations: 0 / 0.7316 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.6025, allocations: 362 kB / 0.7319 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.6027, allocations: 128.7 kB / 0.7321 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.6027, allocations: 4 kB / 0.7321 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6029, allocations: 15.98 kB / 0.7321 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.603, allocations: 7.984 kB / 0.7321 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.603, allocations: 4 kB / 0.7321 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002334/0.6032, allocations: 237.9 kB / 0.7323 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6032, allocations: 0 / 0.7323 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005014/0.6037, allocations: 92 kB / 0.7324 GB, free: 2.258 MB / 0.5606 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.0006185/0.6043, allocations: 219 kB / 0.7326 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.6048, allocations: 163.7 kB / 0.7328 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6048, allocations: 0 / 0.7328 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.605, allocations: 68.84 kB / 0.7328 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.6059, allocations: 135.7 kB / 0.733 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.6068, allocations: 0.6126 MB / 0.7336 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.6071, allocations: 0.7599 MB / 0.7343 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.6072, allocations: 23.44 kB / 0.7343 GB, free: 220 kB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.6072, allocations: 0 / 0.7343 GB, free: 220 kB / 0.5606 GB Notification: Performance of Templates: time 0.009253/0.6165, allocations: 5.21 MB / 0.7394 GB, free: 11.05 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)