Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 285.4 MB / 298 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 184.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 81.66 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.793e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.7358, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/6.387, allocations: 2.318 GB / 3.288 GB, free: 185.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/6.387, allocations: 87.94 kB / 3.289 GB, free: 185.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.561/8.948, allocations: 0.5991 GB / 3.888 GB, free: 214.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.853e-06/8.948, allocations: 0 / 3.888 GB, free: 214.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001487/8.948, allocations: 45.11 kB / 3.888 GB, free: 214.6 MB / 0.948 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.00379/8.952, allocations: 1.331 MB / 3.889 GB, free: 214 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.142e-05/8.952, allocations: 11.53 kB / 3.889 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/8.956, allocations: 0.5753 MB / 3.889 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/8.959, allocations: 0.9328 MB / 3.89 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/8.959, allocations: 60.16 kB / 3.89 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/8.959, allocations: 74.75 kB / 3.891 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/8.961, allocations: 0.8984 MB / 3.891 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/8.961, allocations: 1.625 kB / 3.891 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/8.961, allocations: 29.78 kB / 3.891 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/8.961, allocations: 24.38 kB / 3.891 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/8.962, allocations: 0.6364 MB / 3.892 GB, free: 213.4 MB / 0.948 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.006443/8.969, allocations: 4.967 MB / 3.897 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/8.97, allocations: 0.5788 MB / 3.897 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/8.971, allocations: 309.2 kB / 3.898 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/8.972, allocations: 1.595 MB / 3.899 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/8.973, allocations: 399.9 kB / 3.9 GB, free: 208.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.369e-06/8.973, allocations: 0 / 3.9 GB, free: 208.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002128/8.975, allocations: 0.7129 MB / 3.9 GB, free: 208.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/8.975, allocations: 66.3 kB / 3.9 GB, free: 208.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/8.977, allocations: 0.9842 MB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/8.977, allocations: 43.02 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/8.978, allocations: 0.5498 MB / 3.902 GB, free: 207.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/8.978, allocations: 212.8 kB / 3.902 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/8.978, allocations: 16.38 kB / 3.902 GB, free: 207.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001411/8.978, allocations: 335.8 kB / 3.903 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/8.979, allocations: 271.8 kB / 3.903 GB, free: 207.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/8.98, allocations: 0.5869 MB / 3.903 GB, free: 207.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/8.98, allocations: 319.2 kB / 3.904 GB, free: 207.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/8.98, allocations: 0 / 3.904 GB, free: 207.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001723/8.982, allocations: 0.9178 MB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/8.982, allocations: 8.969 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/8.982, allocations: 7.5 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/8.982, allocations: 20.91 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/8.984, allocations: 274.4 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/8.984, allocations: 22.47 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/8.985, allocations: 207 kB / 3.905 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/8.985, allocations: 50 kB / 3.905 GB, free: 207 MB / 0.948 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 () * 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.000256/8.986, allocations: 166.5 kB / 3.905 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/8.986, allocations: 120.4 kB / 3.905 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/8.988, allocations: 1.063 MB / 3.906 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/8.988, allocations: 8.594 kB / 3.906 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/8.988, allocations: 3.953 kB / 3.906 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/8.988, allocations: 7.391 kB / 3.906 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/8.992, allocations: 2.113 MB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/8.992, allocations: 4.688 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/8.993, allocations: 201.2 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/8.993, allocations: 5.625 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/8.994, allocations: 24.14 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/8.994, allocations: 8 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/8.994, allocations: 4.156 kB / 3.909 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/8.996, allocations: 1.572 MB / 3.91 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/8.997, allocations: 309.6 kB / 3.911 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/8.997, allocations: 17.25 kB / 3.911 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/8.998, allocations: 137 kB / 3.911 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/8.998, allocations: 57.86 kB / 3.911 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/8.998, allocations: 36.44 kB / 3.911 GB, free: 205.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001424/9, allocations: 0.7547 MB / 3.912 GB, free: 205.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.074e-06/9, allocations: 0 / 3.912 GB, free: 205.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00194/9.002, allocations: 391.7 kB / 3.912 GB, free: 205.6 MB / 0.948 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) * 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.002015/9.004, allocations: 0.7678 MB / 3.913 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001749/9.006, allocations: 0.7707 MB / 3.913 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/9.006, allocations: 1 kB / 3.913 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/9.006, allocations: 422.9 kB / 3.914 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/9.009, allocations: 437.8 kB / 3.914 GB, free: 205.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/9.013, allocations: 1.815 MB / 3.916 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/9.014, allocations: 1.139 MB / 3.917 GB, free: 204.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001491/9.015, allocations: 261.6 kB / 3.917 GB, free: 204.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/9.016, allocations: 109.6 kB / 3.918 GB, free: 204.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.933e-06/9.016, allocations: 0 / 3.918 GB, free: 204.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04402/9.06, allocations: 21.86 MB / 3.939 GB, free: 203.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)