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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5427/0.5427, allocations: 92 MB / 108.5 MB, free: 13.11 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.458/1.458, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.28 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 16 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 72.3 MB / 0.5689 GB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6/6.165, allocations: 2.112 GB / 2.68 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/6.166, allocations: 92.48 kB / 2.681 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.985/8.15, allocations: 0.602 GB / 3.283 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/8.15, allocations: 0 / 3.283 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000101/8.15, allocations: 35.52 kB / 3.283 GB, free: 60.04 MB / 0.6042 GB 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.003473/8.154, allocations: 1.545 MB / 3.284 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/8.154, allocations: 8.031 kB / 3.284 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/8.157, allocations: 0.5793 MB / 3.285 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/8.159, allocations: 0.9179 MB / 3.286 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/8.159, allocations: 65.88 kB / 3.286 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/8.159, allocations: 72 kB / 3.286 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/8.162, allocations: 1.101 MB / 3.287 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/8.162, allocations: 3.938 kB / 3.287 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/8.162, allocations: 30.97 kB / 3.287 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/8.162, allocations: 33.3 kB / 3.287 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/8.164, allocations: 1.011 MB / 3.288 GB, free: 54.6 MB / 0.6042 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.005004/8.169, allocations: 4.957 MB / 3.293 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/8.172, allocations: 0.9533 MB / 3.294 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/8.173, allocations: 1.591 MB / 3.295 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/8.174, allocations: 0.5913 MB / 3.296 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.478e-06/8.174, allocations: 0 / 3.296 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004096/8.179, allocations: 1.5 MB / 3.297 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/8.179, allocations: 67.95 kB / 3.297 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/8.18, allocations: 0.9812 MB / 3.298 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/8.18, allocations: 41.7 kB / 3.298 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/8.18, allocations: 0.5491 MB / 3.299 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/8.18, allocations: 211 kB / 3.299 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/8.18, allocations: 23.94 kB / 3.299 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/8.18, allocations: 333.9 kB / 3.299 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/8.182, allocations: 453.7 kB / 3.3 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/8.183, allocations: 0.7513 MB / 3.301 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/8.184, allocations: 0.49 MB / 3.301 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/8.184, allocations: 0 / 3.301 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003074/8.187, allocations: 1.278 MB / 3.302 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/8.187, allocations: 8 kB / 3.302 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/8.187, allocations: 11.95 kB / 3.302 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/8.187, allocations: 20.02 kB / 3.302 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/8.189, allocations: 273.9 kB / 3.303 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/8.189, allocations: 19.92 kB / 3.303 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/8.19, allocations: 207 kB / 3.303 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/8.19, allocations: 51.97 kB / 3.303 GB, free: 38.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005685/8.191, allocations: 296.3 kB / 3.303 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/8.191, allocations: 122.4 kB / 3.303 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/8.194, allocations: 1.426 MB / 3.305 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/8.194, allocations: 19.95 kB / 3.305 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/8.194, allocations: 3.984 kB / 3.305 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/8.194, allocations: 4 kB / 3.305 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/8.199, allocations: 2.484 MB / 3.307 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/8.199, allocations: 0 / 3.307 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/8.2, allocations: 211.9 kB / 3.307 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/8.2, allocations: 4 kB / 3.307 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/8.2, allocations: 23.98 kB / 3.307 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/8.2, allocations: 4 kB / 3.307 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/8.2, allocations: 3.984 kB / 3.307 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/8.204, allocations: 2.119 MB / 3.309 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/8.205, allocations: 311.2 kB / 3.31 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/8.205, allocations: 23.88 kB / 3.31 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/8.206, allocations: 127.9 kB / 3.31 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/8.206, allocations: 64.44 kB / 3.31 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/8.206, allocations: 31.97 kB / 3.31 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009004/8.207, allocations: 0.7638 MB / 3.311 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/8.207, allocations: 0 / 3.311 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001277/8.208, allocations: 391.5 kB / 3.311 GB, free: 29.95 MB / 0.6042 GB 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001587/8.21, allocations: 0.8143 MB / 3.312 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00294/8.213, allocations: 1.138 MB / 3.313 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/8.213, allocations: 0 / 3.313 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/8.214, allocations: 0.6039 MB / 3.314 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/8.216, allocations: 413.4 kB / 3.314 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/8.221, allocations: 2.743 MB / 3.317 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/8.221, allocations: 1.14 MB / 3.318 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001114/8.222, allocations: 258.4 kB / 3.318 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/8.223, allocations: 119.3 kB / 3.318 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.031e-06/8.223, allocations: 0 / 3.318 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.03293/8.256, allocations: 20.92 MB / 3.338 GB, free: 2.445 MB / 0.6042 GB 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)