Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.0009944/0.0009945, allocations: 182.9 kB / 372 MB, free: 10.27 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.488/1.488, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007644/0.0007645, allocations: 109.3 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 19.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5665/0.7474, allocations: 176.3 MB / 1.152 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009276/0.7568, allocations: 4.766 MB / 1.156 GB, free: 6.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.7579, allocations: 44.78 kB / 1.156 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.7595, allocations: 0.6225 MB / 1.157 GB, free: 5.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.7644, allocations: 1.857 MB / 1.159 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.7668, allocations: 0.9189 MB / 1.16 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.7704, allocations: 2.983 MB / 1.163 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.7715, allocations: 0.7257 MB / 1.163 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.7733, allocations: 0.9918 MB / 1.164 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.7745, allocations: 0.9238 MB / 1.165 GB, free: 352 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.7746, allocations: 46.06 kB / 1.165 GB, free: 352 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.777, allocations: 0.9323 MB / 1.166 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.7775, allocations: 401.7 kB / 1.167 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.7778, allocations: 269.5 kB / 1.167 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.7794, allocations: 1.353 MB / 1.168 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7794, allocations: 0 / 1.168 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7795, allocations: 0 / 1.168 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.7795, allocations: 0 / 1.168 GB, free: 14.65 MB / 0.7136 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.004732/0.7842, allocations: 1.714 MB / 1.17 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7843, allocations: 9.625 kB / 1.17 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004094/0.7884, allocations: 0.6974 MB / 1.171 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.7899, allocations: 0.8502 MB / 1.171 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.79, allocations: 62.97 kB / 1.171 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.7901, allocations: 91.45 kB / 1.172 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.7933, allocations: 1.473 MB / 1.173 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.7933, allocations: 3.938 kB / 1.173 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.7934, allocations: 47.75 kB / 1.173 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.7935, allocations: 56.34 kB / 1.173 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.7974, allocations: 1.532 MB / 1.175 GB, free: 10.63 MB / 0.7136 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.007087/0.8045, allocations: 5.498 MB / 1.18 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.808, allocations: 1.308 MB / 1.181 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.8097, allocations: 0.6742 MB / 1.182 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/0.8105, allocations: 0.5901 MB / 1.182 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.8123, allocations: 0.7135 MB / 1.183 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 4.789e-06/0.8123, allocations: 0 / 1.183 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005461/0.8178, allocations: 1.914 MB / 1.185 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.8179, allocations: 57.88 kB / 1.185 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.8192, allocations: 1.238 MB / 1.186 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.8193, allocations: 42.8 kB / 1.186 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.8198, allocations: 0.5878 MB / 1.187 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.82, allocations: 275.6 kB / 1.187 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.8201, allocations: 21.69 kB / 1.187 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8202, allocations: 346.1 kB / 1.188 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.8218, allocations: 0.5381 MB / 1.188 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8236, allocations: 0.8549 MB / 1.189 GB, free: 480 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.8252, allocations: 0.6032 MB / 1.189 GB, free: 188 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.8252, allocations: 2.906 kB / 1.189 GB, free: 188 kB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003759/0.8289, allocations: 1.507 MB / 1.191 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.829, allocations: 8.938 kB / 1.191 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.829, allocations: 9.188 kB / 1.191 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.829, allocations: 18.08 kB / 1.191 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8305, allocations: 297.9 kB / 1.191 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.8305, allocations: 22.73 kB / 1.191 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.8322, allocations: 234 kB / 1.192 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8323, allocations: 47.86 kB / 1.192 GB, free: 15.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (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.0006452/0.8329, allocations: 340.2 kB / 1.192 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.8331, allocations: 137.3 kB / 1.192 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.8369, allocations: 1.435 MB / 1.193 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.8369, allocations: 8.719 kB / 1.193 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8369, allocations: 0 / 1.193 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8369, allocations: 3.984 kB / 1.193 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.8427, allocations: 2.832 MB / 1.196 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.8427, allocations: 4 kB / 1.196 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.844, allocations: 228 kB / 1.196 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.844, allocations: 8 kB / 1.196 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.8441, allocations: 27.97 kB / 1.196 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.8441, allocations: 15.94 kB / 1.196 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8441, allocations: 4 kB / 1.196 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.8496, allocations: 2.279 MB / 1.199 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/0.8503, allocations: 303.2 kB / 1.199 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.8504, allocations: 19.98 kB / 1.199 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.8516, allocations: 147.7 kB / 1.199 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8517, allocations: 64.38 kB / 1.199 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.8518, allocations: 31.98 kB / 1.199 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001079/0.8529, allocations: 0.8565 MB / 1.2 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.553e-06/0.8529, allocations: 0 / 1.2 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001087/0.854, allocations: 311.6 kB / 1.2 GB, free: 7.852 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.001228/0.8553, allocations: 0.5435 MB / 1.201 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.8589, allocations: 1.302 MB / 1.202 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8589, allocations: 0 / 1.202 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.8607, allocations: 0.6444 MB / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.8636, allocations: 0.5891 MB / 1.203 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.869, allocations: 2.951 MB / 1.206 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.8697, allocations: 1.175 MB / 1.207 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8713, allocations: 346 kB / 1.208 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.8716, allocations: 111.4 kB / 1.208 GB, free: 248 kB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/0.8717, allocations: 0 / 1.208 GB, free: 248 kB / 0.7292 GB Notification: Performance of Templates: time 0.03503/0.9067, allocations: 20.97 MB / 1.228 GB, free: 11.48 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)