Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4643/0.4643, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008981, allocations: 97.09 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.504e-05, allocations: 4 kB / 0.4896 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4105, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.128/4.538, allocations: 1.827 GB / 2.387 GB, free: 200.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/4.538, allocations: 89.14 kB / 2.388 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.424/7.962, allocations: 1.018 GB / 3.406 GB, free: 98.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/7.962, allocations: 0 / 3.406 GB, free: 98.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001937/7.963, allocations: 43.41 kB / 3.406 GB, free: 98.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007992/7.971, allocations: 1.826 MB / 3.407 GB, free: 97.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/7.971, allocations: 13.52 kB / 3.407 GB, free: 97.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/7.975, allocations: 0.693 MB / 3.408 GB, free: 97.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/7.98, allocations: 1.047 MB / 3.409 GB, free: 97.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/7.98, allocations: 68.64 kB / 3.409 GB, free: 97.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/7.98, allocations: 91.25 kB / 3.409 GB, free: 97.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/7.983, allocations: 1.252 MB / 3.41 GB, free: 96.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/7.983, allocations: 0 / 3.41 GB, free: 96.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/7.983, allocations: 32.34 kB / 3.411 GB, free: 96.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/7.983, allocations: 39.98 kB / 3.411 GB, free: 96.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/7.985, allocations: 1.023 MB / 3.412 GB, free: 96.76 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.007824/7.993, allocations: 5.308 MB / 3.417 GB, free: 92.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/7.994, allocations: 0.9209 MB / 3.418 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006637/7.995, allocations: 0.4918 MB / 3.418 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/7.996, allocations: 0.9476 MB / 3.419 GB, free: 90.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008676/7.997, allocations: 0.611 MB / 3.42 GB, free: 90.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/7.997, allocations: 0 / 3.42 GB, free: 90.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.002641/7.999, allocations: 1.146 MB / 3.421 GB, free: 89.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/7.999, allocations: 60.19 kB / 3.421 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/8.001, allocations: 1.116 MB / 3.422 GB, free: 88.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/8.001, allocations: 41.7 kB / 3.422 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/8.002, allocations: 0.5738 MB / 3.422 GB, free: 87.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/8.002, allocations: 275.2 kB / 3.423 GB, free: 87.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/8.002, allocations: 20 kB / 3.423 GB, free: 87.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/8.002, allocations: 344.1 kB / 3.423 GB, free: 86.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/8.003, allocations: 425.8 kB / 3.424 GB, free: 86.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/8.004, allocations: 0.714 MB / 3.424 GB, free: 85.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/8.005, allocations: 466.8 kB / 3.425 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/8.005, allocations: 5.844 kB / 3.425 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001986/8.007, allocations: 1.254 MB / 3.426 GB, free: 83.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/8.007, allocations: 15.94 kB / 3.426 GB, free: 83.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.007, allocations: 8 kB / 3.426 GB, free: 83.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/8.007, allocations: 19.5 kB / 3.426 GB, free: 83.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/8.008, allocations: 305.2 kB / 3.426 GB, free: 83.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/8.008, allocations: 23.14 kB / 3.426 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/8.01, allocations: 227.4 kB / 3.426 GB, free: 83.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/8.01, allocations: 59.95 kB / 3.427 GB, free: 83.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002426/8.01, allocations: 174.8 kB / 3.427 GB, free: 83.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/8.011, allocations: 134.3 kB / 3.427 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/8.013, allocations: 1.249 MB / 3.428 GB, free: 81.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/8.013, allocations: 8 kB / 3.428 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/8.013, allocations: 0 / 3.428 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/8.013, allocations: 3.984 kB / 3.428 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/8.018, allocations: 2.752 MB / 3.431 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/8.018, allocations: 4 kB / 3.431 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/8.02, allocations: 259.4 kB / 3.431 GB, free: 78.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/8.02, allocations: 8 kB / 3.431 GB, free: 78.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/8.02, allocations: 43.89 kB / 3.431 GB, free: 78.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/8.02, allocations: 11.5 kB / 3.431 GB, free: 78.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/8.02, allocations: 14.61 kB / 3.431 GB, free: 78.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/8.023, allocations: 2.203 MB / 3.433 GB, free: 76.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/8.024, allocations: 359.1 kB / 3.434 GB, free: 75.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/8.024, allocations: 24 kB / 3.434 GB, free: 75.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/8.026, allocations: 135.7 kB / 3.434 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/8.026, allocations: 71 kB / 3.434 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/8.026, allocations: 35.97 kB / 3.434 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001448/8.027, allocations: 0.8625 MB / 3.435 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/8.027, allocations: 0 / 3.435 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002477/8.03, allocations: 0.4919 MB / 3.435 GB, free: 74.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004132/8.034, allocations: 1.987 MB / 3.437 GB, free: 72.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001943/8.036, allocations: 1.047 MB / 3.438 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/8.036, allocations: 4 kB / 3.438 GB, free: 71.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/8.037, allocations: 0.5453 MB / 3.439 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/8.04, allocations: 0.5885 MB / 3.439 GB, free: 70.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/8.044, allocations: 2.059 MB / 3.441 GB, free: 68.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/8.045, allocations: 1.206 MB / 3.442 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00167/8.046, allocations: 385.3 kB / 3.443 GB, free: 66.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/8.047, allocations: 123.4 kB / 3.443 GB, free: 66.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/8.047, allocations: 0 / 3.443 GB, free: 66.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.05742/8.104, allocations: 47.12 MB / 3.489 GB, free: 20.18 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)