Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002603/0.002608, allocations: 358.5 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.435/1.435, allocations: 165.8 MB / 183.1 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.596/3.596, allocations: 410.8 MB / 0.6001 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 187.2 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004487, allocations: 12 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3965, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.394/6.791, allocations: 2.279 GB / 3.088 GB, free: 33.34 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/6.791, allocations: 95.69 kB / 3.088 GB, free: 33.29 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.939/9.731, allocations: 0.5973 GB / 3.685 GB, free: 103.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.914e-06/9.731, allocations: 0 / 3.685 GB, free: 103.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001397/9.731, allocations: 47.27 kB / 3.685 GB, free: 103.9 MB / 0.573 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.004476/9.735, allocations: 1.535 MB / 3.686 GB, free: 102.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/9.735, allocations: 14.88 kB / 3.686 GB, free: 102.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/9.741, allocations: 0.5761 MB / 3.687 GB, free: 102.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/9.744, allocations: 0.9314 MB / 3.688 GB, free: 101.9 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/9.745, allocations: 60.44 kB / 3.688 GB, free: 101.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/9.745, allocations: 80.75 kB / 3.688 GB, free: 101.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/9.748, allocations: 1.092 MB / 3.689 GB, free: 101.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/9.748, allocations: 10.86 kB / 3.689 GB, free: 101.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/9.749, allocations: 28.62 kB / 3.689 GB, free: 101.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/9.749, allocations: 18.03 kB / 3.689 GB, free: 101.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/9.754, allocations: 1.002 MB / 3.69 GB, free: 100.6 MB / 0.573 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.007882/9.762, allocations: 4.975 MB / 3.695 GB, free: 96.29 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/9.766, allocations: 0.9491 MB / 3.696 GB, free: 95.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/9.769, allocations: 0.4929 MB / 3.696 GB, free: 95.69 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/9.77, allocations: 1.596 MB / 3.698 GB, free: 93.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002642/9.773, allocations: 0.5807 MB / 3.699 GB, free: 93.52 MB / 0.573 GB Notification: Performance of pre-optimization done (n=61): time 3.837e-06/9.773, allocations: 0 / 3.699 GB, free: 93.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=61): time 0.00776/9.781, allocations: 1.507 MB / 3.7 GB, free: 92.87 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/9.781, allocations: 58.09 kB / 3.7 GB, free: 92.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/9.783, allocations: 1.133 MB / 3.701 GB, free: 91.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/9.783, allocations: 41.7 kB / 3.701 GB, free: 91.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/9.783, allocations: 0.5479 MB / 3.702 GB, free: 91.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/9.784, allocations: 211.8 kB / 3.702 GB, free: 90.87 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/9.784, allocations: 20 kB / 3.702 GB, free: 90.85 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/9.784, allocations: 338 kB / 3.702 GB, free: 90.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/9.786, allocations: 458.4 kB / 3.703 GB, free: 90.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/9.789, allocations: 0.782 MB / 3.704 GB, free: 89.17 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/9.791, allocations: 0.4896 MB / 3.704 GB, free: 88.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/9.791, allocations: 0 / 3.704 GB, free: 88.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005684/9.797, allocations: 1.284 MB / 3.705 GB, free: 87.44 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/9.797, allocations: 10.5 kB / 3.705 GB, free: 87.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/9.797, allocations: 8 kB / 3.705 GB, free: 87.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/9.797, allocations: 16 kB / 3.705 GB, free: 87.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/9.799, allocations: 274.6 kB / 3.706 GB, free: 87.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/9.799, allocations: 15.98 kB / 3.706 GB, free: 87.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/9.802, allocations: 219 kB / 3.706 GB, free: 86.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/9.802, allocations: 51.91 kB / 3.706 GB, free: 86.86 MB / 0.573 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.000702/9.803, allocations: 304.9 kB / 3.706 GB, free: 86.56 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/9.803, allocations: 118.5 kB / 3.706 GB, free: 86.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/9.809, allocations: 1.431 MB / 3.708 GB, free: 85 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/9.809, allocations: 11.98 kB / 3.708 GB, free: 84.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/9.809, allocations: 0 / 3.708 GB, free: 84.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/9.809, allocations: 3.984 kB / 3.708 GB, free: 84.99 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007961/9.817, allocations: 2.475 MB / 3.71 GB, free: 82.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/9.817, allocations: 4.188 kB / 3.71 GB, free: 82.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/9.819, allocations: 203.7 kB / 3.71 GB, free: 82.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/9.819, allocations: 7.953 kB / 3.71 GB, free: 82.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/9.819, allocations: 27.97 kB / 3.71 GB, free: 82.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/9.819, allocations: 4 kB / 3.71 GB, free: 82.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/9.819, allocations: 5.859 kB / 3.71 GB, free: 82.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008256/9.827, allocations: 2.041 MB / 3.712 GB, free: 80.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/9.828, allocations: 311.2 kB / 3.713 GB, free: 79.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/9.828, allocations: 23.94 kB / 3.713 GB, free: 79.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/9.83, allocations: 127.9 kB / 3.713 GB, free: 79.67 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/9.83, allocations: 48.5 kB / 3.713 GB, free: 79.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/9.831, allocations: 39.97 kB / 3.713 GB, free: 79.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001356/9.832, allocations: 0.7758 MB / 3.714 GB, free: 78.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/9.832, allocations: 0 / 3.714 GB, free: 78.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001704/9.834, allocations: 392.9 kB / 3.714 GB, free: 78.42 MB / 0.573 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.002054/9.836, allocations: 0.8246 MB / 3.715 GB, free: 77.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005271/9.841, allocations: 1.142 MB / 3.716 GB, free: 76.74 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/9.841, allocations: 0 / 3.716 GB, free: 76.74 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/9.844, allocations: 0.5968 MB / 3.716 GB, free: 76.15 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/9.847, allocations: 453.9 kB / 3.717 GB, free: 75.72 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/9.855, allocations: 2.768 MB / 3.72 GB, free: 72.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/9.855, allocations: 1.143 MB / 3.721 GB, free: 71.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001739/9.857, allocations: 258.1 kB / 3.721 GB, free: 71.51 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/9.858, allocations: 107.4 kB / 3.721 GB, free: 71.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/9.858, allocations: 4 kB / 3.721 GB, free: 71.4 MB / 0.573 GB Notification: Performance of Templates: time 0.05188/9.91, allocations: 21.44 MB / 3.742 GB, free: 50.59 MB / 0.573 GB