Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009976, allocations: 93.27 kB / 16.02 MB, free: 84 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.001301/0.001301, allocations: 176.1 kB / 16.91 MB, free: 6.684 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3987/0.5663, allocations: 28.41 MB / 0.5877 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.5789, allocations: 6.816 MB / 0.5944 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.5807, allocations: 42.22 kB / 0.5944 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.5828, allocations: 0.5988 MB / 0.595 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.5881, allocations: 1.348 MB / 0.5963 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.5921, allocations: 1.034 MB / 0.5973 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.5981, allocations: 3.227 MB / 0.6005 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.6, allocations: 0.713 MB / 0.6012 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.6023, allocations: 0.9237 MB / 0.6021 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.6041, allocations: 0.8083 MB / 0.6029 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.6043, allocations: 36.78 kB / 0.6029 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.6067, allocations: 0.7569 MB / 0.6036 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.6072, allocations: 254.9 kB / 0.6039 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.6083, allocations: 0.5447 MB / 0.6044 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.6122, allocations: 1.55 MB / 0.6059 GB, free: 7.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6122, allocations: 1.094 kB / 0.6059 GB, free: 7.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6122, allocations: 0 / 0.6059 GB, free: 7.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.169e-05/0.6123, allocations: 0 / 0.6059 GB, free: 7.984 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003438/0.6158, allocations: 1.366 MB / 0.6073 GB, free: 23.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6158, allocations: 10.91 kB / 0.6073 GB, free: 23.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.6195, allocations: 0.631 MB / 0.6079 GB, free: 22.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.6213, allocations: 0.8055 MB / 0.6087 GB, free: 22.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.6214, allocations: 53.69 kB / 0.6087 GB, free: 22.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.6216, allocations: 82 kB / 0.6088 GB, free: 22.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.6245, allocations: 1.108 MB / 0.6099 GB, free: 21.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.6245, allocations: 5.062 kB / 0.6099 GB, free: 21.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.6246, allocations: 32.69 kB / 0.6099 GB, free: 21.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.6247, allocations: 17.88 kB / 0.6099 GB, free: 21.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.6282, allocations: 1.029 MB / 0.6109 GB, free: 21.61 MB / 462.1 MB 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.006002/0.6342, allocations: 4.971 MB / 0.6158 GB, free: 17.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.6371, allocations: 0.9601 MB / 0.6167 GB, free: 17.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.6386, allocations: 491.7 kB / 0.6172 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.6397, allocations: 1.601 MB / 0.6188 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.6413, allocations: 0.6001 MB / 0.6193 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/0.6413, allocations: 0.9375 kB / 0.6193 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004679/0.646, allocations: 1.509 MB / 0.6208 GB, free: 14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.646, allocations: 62.81 kB / 0.6209 GB, free: 13.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.6475, allocations: 1.117 MB / 0.622 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.6476, allocations: 38.36 kB / 0.622 GB, free: 13.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.6481, allocations: 0.5475 MB / 0.6225 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.6483, allocations: 216.9 kB / 0.6227 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6484, allocations: 64.31 kB / 0.6228 GB, free: 12.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6486, allocations: 337.9 kB / 0.6231 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.6501, allocations: 460.9 kB / 0.6236 GB, free: 12.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.6519, allocations: 0.7344 MB / 0.6243 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.6549, allocations: 1.138 MB / 0.6254 GB, free: 10.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.6549, allocations: 3.281 kB / 0.6254 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003604/0.6585, allocations: 1.295 MB / 0.6267 GB, free: 10.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6585, allocations: 7.875 kB / 0.6267 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6586, allocations: 12.38 kB / 0.6267 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.6586, allocations: 11.12 kB / 0.6267 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.6598, allocations: 283.8 kB / 0.627 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.6598, allocations: 15.36 kB / 0.627 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6613, allocations: 210.3 kB / 0.6272 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.6614, allocations: 44.86 kB / 0.6272 GB, free: 9.992 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0006435/0.662, allocations: 294.6 kB / 0.6275 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.6623, allocations: 121.4 kB / 0.6276 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.6663, allocations: 1.385 MB / 0.629 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.6663, allocations: 6.625 kB / 0.629 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6663, allocations: 3.281 kB / 0.629 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.6663, allocations: 7.969 kB / 0.629 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.6716, allocations: 2.392 MB / 0.6313 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6716, allocations: 7.094 kB / 0.6313 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6727, allocations: 195.3 kB / 0.6315 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.6727, allocations: 3.219 kB / 0.6315 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.6728, allocations: 25.94 kB / 0.6315 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6728, allocations: 3.281 kB / 0.6316 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6728, allocations: 2.969 kB / 0.6316 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.6781, allocations: 2.018 MB / 0.6335 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.6787, allocations: 283.3 kB / 0.6338 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.679, allocations: 23.98 kB / 0.6338 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6801, allocations: 127.8 kB / 0.6339 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6803, allocations: 52.42 kB / 0.634 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.6803, allocations: 35.97 kB / 0.634 GB, free: 5.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.6814, allocations: 0.7677 MB / 0.6348 GB, free: 4.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6814, allocations: 0 / 0.6348 GB, free: 4.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001271/0.6827, allocations: 339.6 kB / 0.6351 GB, free: 4.324 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001587/0.6843, allocations: 0.6586 MB / 0.6357 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.6878, allocations: 1.133 MB / 0.6368 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6878, allocations: 0 / 0.6368 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.6896, allocations: 0.5848 MB / 0.6374 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.6921, allocations: 430.2 kB / 0.6378 GB, free: 1.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.6975, allocations: 2.807 MB / 0.6406 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.6983, allocations: 1.104 MB / 0.6416 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.6995, allocations: 248.7 kB / 0.6419 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.6998, allocations: 103.4 kB / 0.642 GB, free: 13.41 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6998, allocations: 0 / 0.642 GB, free: 13.41 MB / 478.1 MB Notification: Performance of Templates: time 0.03343/0.7332, allocations: 18.93 MB / 0.6605 GB, free: 10.75 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)