Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 92.62 kB / 15.7 MB, free: 472 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.001119/0.001119, allocations: 167.7 kB / 16.58 MB, free: 5.652 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.366/1.366, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7201/0.7201, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4141/0.5506, allocations: 153.9 MB / 0.7096 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007383/0.558, allocations: 6.634 MB / 0.7161 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.5583, allocations: 11.88 kB / 0.7161 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.5587, allocations: 119.1 kB / 0.7163 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.5608, allocations: 0.832 MB / 0.7171 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.5621, allocations: 494 kB / 0.7175 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009564/0.5631, allocations: 0.8888 MB / 0.7184 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.5635, allocations: 221.2 kB / 0.7186 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009578/0.5644, allocations: 478 kB / 0.7191 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.5652, allocations: 398.7 kB / 0.7195 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.5652, allocations: 16 kB / 0.7195 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.5666, allocations: 0.6313 MB / 0.7201 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5668, allocations: 103.7 kB / 0.7202 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.5668, allocations: 89.52 kB / 0.7203 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.5675, allocations: 0.5223 MB / 0.7208 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5675, allocations: 0 / 0.7208 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5675, allocations: 0 / 0.7208 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5675, allocations: 0 / 0.7208 GB, free: 1.934 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008638/0.5684, allocations: 0.6357 MB / 0.7214 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5685, allocations: 8.031 kB / 0.7214 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.5694, allocations: 131.4 kB / 0.7215 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.5699, allocations: 321.3 kB / 0.7218 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.57, allocations: 46.27 kB / 0.7219 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.57, allocations: 28 kB / 0.7219 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.5707, allocations: 378.1 kB / 0.7223 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5707, allocations: 0 / 0.7223 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.5707, allocations: 12 kB / 0.7223 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5707, allocations: 8 kB / 0.7223 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.5713, allocations: 282 kB / 0.7226 GB, free: 15.99 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.5731, allocations: 1.5 MB / 0.724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.5735, allocations: 202.6 kB / 0.7242 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.5738, allocations: 116.8 kB / 0.7243 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009675/0.5747, allocations: 0.517 MB / 0.7248 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5748, allocations: 38.52 kB / 0.7249 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.5748, allocations: 4 kB / 0.7249 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0009729/0.5758, allocations: 382.9 kB / 0.7252 GB, free: 13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.5758, allocations: 51.41 kB / 0.7253 GB, free: 12.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.5762, allocations: 308.5 kB / 0.7256 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.5762, allocations: 37.64 kB / 0.7256 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5764, allocations: 180.1 kB / 0.7258 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.5764, allocations: 55.2 kB / 0.7258 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5764, allocations: 3.938 kB / 0.7258 GB, free: 12.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5766, allocations: 338.8 kB / 0.7262 GB, free: 12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.5768, allocations: 95.92 kB / 0.7263 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.577, allocations: 156 kB / 0.7264 GB, free: 11.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.5772, allocations: 107.9 kB / 0.7265 GB, free: 11.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5773, allocations: 0 / 0.7265 GB, free: 11.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005806/0.5778, allocations: 297.1 kB / 0.7268 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5779, allocations: 4 kB / 0.7268 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5779, allocations: 0 / 0.7268 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5779, allocations: 4 kB / 0.7268 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.5781, allocations: 52.09 kB / 0.7269 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5781, allocations: 0 / 0.7269 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5784, allocations: 35.73 kB / 0.7269 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.5784, allocations: 12 kB / 0.7269 GB, free: 11.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001547/0.5786, allocations: 153.7 kB / 0.727 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5787, allocations: 43.56 kB / 0.7271 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/0.5794, allocations: 319.7 kB / 0.7274 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5794, allocations: 0 / 0.7274 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5795, allocations: 7.688 kB / 0.7274 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5795, allocations: 0 / 0.7274 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5807, allocations: 0.8122 MB / 0.7282 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5807, allocations: 4 kB / 0.7282 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5809, allocations: 39.92 kB / 0.7282 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5809, allocations: 4 kB / 0.7282 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.581, allocations: 12.2 kB / 0.7282 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.581, allocations: 0 / 0.7282 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.581, allocations: 7.984 kB / 0.7283 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.5816, allocations: 414.7 kB / 0.7287 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.5818, allocations: 136.6 kB / 0.7288 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.5818, allocations: 7.984 kB / 0.7288 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.5821, allocations: 27.98 kB / 0.7288 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.5821, allocations: 19.88 kB / 0.7288 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5822, allocations: 19.92 kB / 0.7289 GB, free: 9.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002079/0.5824, allocations: 227 kB / 0.7291 GB, free: 8.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5824, allocations: 0 / 0.7291 GB, free: 8.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004773/0.5829, allocations: 111.8 kB / 0.7292 GB, free: 8.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0004555/0.5833, allocations: 214 kB / 0.7294 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.5838, allocations: 228 kB / 0.7296 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5839, allocations: 0 / 0.7296 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.5841, allocations: 119.8 kB / 0.7297 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.585, allocations: 153.3 kB / 0.7299 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5861, allocations: 0.6982 MB / 0.7305 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5864, allocations: 0.7915 MB / 0.7313 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.5868, allocations: 86.19 kB / 0.7314 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.5869, allocations: 31.44 kB / 0.7314 GB, free: 6.383 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5869, allocations: 0 / 0.7314 GB, free: 6.383 MB / 0.545 GB Notification: Performance of Templates: time 0.01185/0.5987, allocations: 6.759 MB / 0.738 GB, free: 15.72 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)