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.001082/0.001082, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 179.2 kB / 16.92 MB, free: 6.922 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 9.062 kB / 495.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 77.52 MB / 0.5599 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4919/0.6652, allocations: 158.9 MB / 0.7151 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.6713, allocations: 4.566 MB / 0.7196 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.6716, allocations: 11.94 kB / 0.7196 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.6721, allocations: 99.34 kB / 0.7197 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.6736, allocations: 0.5019 MB / 0.7201 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.6757, allocations: 0.7191 MB / 0.7208 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009277/0.6766, allocations: 0.8107 MB / 0.7216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.677, allocations: 177.5 kB / 0.7218 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.678, allocations: 426.4 kB / 0.7222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.6787, allocations: 294.8 kB / 0.7225 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.6787, allocations: 12 kB / 0.7225 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.6806, allocations: 1.157 MB / 0.7236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6807, allocations: 79.78 kB / 0.7237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.6809, allocations: 145 kB / 0.7239 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.6822, allocations: 0.7635 MB / 0.7246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6822, allocations: 0 / 0.7246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6822, allocations: 0 / 0.7246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.6822, allocations: 0 / 0.7246 GB, free: 14.27 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008957/0.6831, allocations: 0.5574 MB / 0.7251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6832, allocations: 12.03 kB / 0.7252 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.6839, allocations: 79.53 kB / 0.7252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.6842, allocations: 280.1 kB / 0.7255 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.6843, allocations: 16 kB / 0.7255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.6843, allocations: 16 kB / 0.7255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.6848, allocations: 300.1 kB / 0.7258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6849, allocations: 0 / 0.7258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.6849, allocations: 8 kB / 0.7258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6849, allocations: 7.938 kB / 0.7258 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.6854, allocations: 223.5 kB / 0.726 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.687, allocations: 1.245 MB / 0.7273 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.6873, allocations: 181 kB / 0.7274 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.6875, allocations: 121.4 kB / 0.7275 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008391/0.6884, allocations: 343.2 kB / 0.7279 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.6884, allocations: 42.69 kB / 0.7279 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.6884, allocations: 0 / 0.7279 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008024/0.6892, allocations: 289.4 kB / 0.7282 GB, free: 10.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.6893, allocations: 162.3 kB / 0.7283 GB, free: 10.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.6896, allocations: 287 kB / 0.7286 GB, free: 9.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.6896, allocations: 29.7 kB / 0.7286 GB, free: 9.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.6898, allocations: 151.8 kB / 0.7288 GB, free: 9.598 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.6898, allocations: 43.41 kB / 0.7288 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.6898, allocations: 21.72 kB / 0.7289 GB, free: 9.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.69, allocations: 338.8 kB / 0.7292 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.6901, allocations: 75.94 kB / 0.7293 GB, free: 9.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.6904, allocations: 152.5 kB / 0.7294 GB, free: 8.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.6908, allocations: 219.5 kB / 0.7296 GB, free: 8.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6908, allocations: 0 / 0.7296 GB, free: 8.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005402/0.6913, allocations: 265.1 kB / 0.7299 GB, free: 8.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6914, allocations: 8 kB / 0.7299 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6914, allocations: 0 / 0.7299 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6914, allocations: 4.375 kB / 0.7299 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.6916, allocations: 35.98 kB / 0.7299 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6916, allocations: 16.17 kB / 0.7299 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.6918, allocations: 39.61 kB / 0.73 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.6919, allocations: 8 kB / 0.73 GB, free: 8.316 MB / 0.545 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.0001381/0.692, allocations: 149.8 kB / 0.7301 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.6922, allocations: 23.72 kB / 0.7301 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.6927, allocations: 205.8 kB / 0.7303 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6927, allocations: 4 kB / 0.7303 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6927, allocations: 0 / 0.7303 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6927, allocations: 4 kB / 0.7303 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.6937, allocations: 0.8626 MB / 0.7312 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6937, allocations: 3.938 kB / 0.7312 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.6938, allocations: 27.98 kB / 0.7312 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6938, allocations: 8.094 kB / 0.7312 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6939, allocations: 4 kB / 0.7312 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.6939, allocations: 4 kB / 0.7312 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6939, allocations: 3.938 kB / 0.7312 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.6945, allocations: 363.4 kB / 0.7316 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6946, allocations: 120.8 kB / 0.7317 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.6946, allocations: 12 kB / 0.7317 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.6948, allocations: 11.98 kB / 0.7317 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.6949, allocations: 15.98 kB / 0.7317 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.6949, allocations: 0 / 0.7317 GB, free: 6.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002385/0.6951, allocations: 233.9 kB / 0.7319 GB, free: 6.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6951, allocations: 0 / 0.7319 GB, free: 6.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004697/0.6956, allocations: 95.98 kB / 0.732 GB, free: 6.043 MB / 0.545 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.0005257/0.6961, allocations: 218 kB / 0.7322 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.6965, allocations: 159.8 kB / 0.7324 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6966, allocations: 4 kB / 0.7324 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.6967, allocations: 64.72 kB / 0.7325 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.6976, allocations: 133.4 kB / 0.7326 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.6984, allocations: 0.5931 MB / 0.7332 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.6988, allocations: 0.7599 MB / 0.7339 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000211/0.699, allocations: 62.66 kB / 0.734 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.699, allocations: 27.42 kB / 0.734 GB, free: 3.977 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.699, allocations: 0 / 0.734 GB, free: 3.977 MB / 0.545 GB Notification: Performance of Templates: time 0.01034/0.7094, allocations: 5.54 MB / 0.7394 GB, free: 14.51 MB / 0.5606 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)