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.001347/0.001347, allocations: 112.2 kB / 17.04 MB, free: 5.355 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.001419/0.001419, allocations: 198.1 kB / 17.98 MB, free: 4.895 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1597/0.4859, allocations: 163.2 MB / 0.717 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.4913, allocations: 4.572 MB / 0.7214 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.4917, allocations: 11.94 kB / 0.7215 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.4921, allocations: 127 kB / 0.7216 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.4935, allocations: 0.5367 MB / 0.7221 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4953, allocations: 0.7695 MB / 0.7228 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.496, allocations: 0.5729 MB / 0.7234 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.4964, allocations: 216.9 kB / 0.7236 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009593/0.4974, allocations: 466.3 kB / 0.7241 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.498, allocations: 294.8 kB / 0.7243 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.498, allocations: 16 kB / 0.7244 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.4997, allocations: 1.005 MB / 0.7253 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.4998, allocations: 83.8 kB / 0.7254 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.5, allocations: 127.4 kB / 0.7255 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.5011, allocations: 0.7207 MB / 0.7262 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5011, allocations: 4 kB / 0.7262 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5012, allocations: 0 / 0.7262 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5012, allocations: 0 / 0.7262 GB, free: 7.297 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.0009536/0.5021, allocations: 0.5879 MB / 0.7268 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5022, allocations: 16.02 kB / 0.7268 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006752/0.5029, allocations: 79.58 kB / 0.7269 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.5033, allocations: 299.3 kB / 0.7272 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5034, allocations: 17.08 kB / 0.7272 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.5034, allocations: 16 kB / 0.7272 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.5039, allocations: 288.7 kB / 0.7275 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5039, allocations: 0 / 0.7275 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.5039, allocations: 8 kB / 0.7275 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.504, allocations: 11.88 kB / 0.7275 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.5044, allocations: 211.5 kB / 0.7277 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.506, allocations: 1.238 MB / 0.7289 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.5063, allocations: 165 kB / 0.7291 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.5065, allocations: 120.3 kB / 0.7292 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/0.5073, allocations: 335.2 kB / 0.7295 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5073, allocations: 34.56 kB / 0.7296 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.5073, allocations: 0 / 0.7296 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007663/0.5081, allocations: 281.2 kB / 0.7298 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.5082, allocations: 162.2 kB / 0.73 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.5085, allocations: 287 kB / 0.7303 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.5085, allocations: 25.7 kB / 0.7303 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5086, allocations: 148.3 kB / 0.7304 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5087, allocations: 51.3 kB / 0.7305 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.5088, allocations: 45.61 kB / 0.7305 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5089, allocations: 342.8 kB / 0.7308 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5091, allocations: 67.94 kB / 0.7309 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.5093, allocations: 136.5 kB / 0.731 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.5097, allocations: 219.4 kB / 0.7312 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5097, allocations: 0 / 0.7312 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005221/0.5102, allocations: 245.2 kB / 0.7315 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5102, allocations: 7.984 kB / 0.7315 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5103, allocations: 4 kB / 0.7315 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5103, allocations: 4 kB / 0.7315 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5105, allocations: 35.92 kB / 0.7315 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5105, allocations: 4 kB / 0.7315 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.5107, allocations: 27.73 kB / 0.7316 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.5107, allocations: 15.98 kB / 0.7316 GB, free: 1.383 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.0001319/0.5109, allocations: 153.9 kB / 0.7317 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.511, allocations: 27.7 kB / 0.7317 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.5115, allocations: 186.2 kB / 0.7319 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5115, allocations: 7.984 kB / 0.7319 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5115, allocations: 0 / 0.7319 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5116, allocations: 4 kB / 0.7319 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5126, allocations: 0.851 MB / 0.7328 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5126, allocations: 0 / 0.7328 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5127, allocations: 27.92 kB / 0.7328 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5127, allocations: 4.062 kB / 0.7328 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.5127, allocations: 8 kB / 0.7328 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5127, allocations: 0 / 0.7328 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5128, allocations: 8.156 kB / 0.7328 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.5133, allocations: 339.3 kB / 0.7331 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5134, allocations: 116.7 kB / 0.7332 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.5135, allocations: 4 kB / 0.7333 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5137, allocations: 11.98 kB / 0.7333 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.5137, allocations: 12.02 kB / 0.7333 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5137, allocations: 7.938 kB / 0.7333 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002247/0.514, allocations: 237.9 kB / 0.7335 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.514, allocations: 4.062 kB / 0.7335 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004591/0.5144, allocations: 92 kB / 0.7336 GB, free: 15.15 MB / 0.5762 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.0005306/0.515, allocations: 211.3 kB / 0.7338 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.5154, allocations: 163.7 kB / 0.734 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5154, allocations: 0 / 0.734 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.5156, allocations: 55.91 kB / 0.734 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.5163, allocations: 145 kB / 0.7341 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.5172, allocations: 495.7 kB / 0.7346 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.5176, allocations: 0.7674 MB / 0.7354 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.5178, allocations: 63.09 kB / 0.7354 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.5179, allocations: 27.44 kB / 0.7355 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5179, allocations: 0 / 0.7355 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.01049/0.5284, allocations: 5.804 MB / 0.7411 GB, free: 7.457 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)