Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 198.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.05 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3877, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.046/1.434, allocations: 191.6 MB / 1.255 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0113/1.445, allocations: 5.187 MB / 1.26 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/1.447, allocations: 44.66 kB / 1.26 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/1.45, allocations: 0.7158 MB / 1.26 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/1.458, allocations: 2.449 MB / 1.263 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/1.461, allocations: 0.9999 MB / 1.264 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005463/1.467, allocations: 3.608 MB / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/1.469, allocations: 0.872 MB / 1.268 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/1.472, allocations: 1.023 MB / 1.269 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/1.475, allocations: 1.025 MB / 1.27 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004998/1.475, allocations: 56.53 kB / 1.27 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/1.481, allocations: 2.069 MB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008095/1.482, allocations: 427.8 kB / 1.273 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/1.483, allocations: 0.6423 MB / 1.273 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005138/1.488, allocations: 2.266 MB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.488, allocations: 1.344 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.488, allocations: 0 / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.503e-05/1.488, allocations: 0 / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00671/1.495, allocations: 1.953 MB / 1.277 GB, free: 20.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.495, allocations: 9.375 kB / 1.277 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/1.502, allocations: 0.9009 MB / 1.278 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/1.504, allocations: 0.9049 MB / 1.279 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/1.504, allocations: 65.53 kB / 1.279 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.504, allocations: 98.38 kB / 1.279 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/1.508, allocations: 1.581 MB / 1.281 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.508, allocations: 4.406 kB / 1.281 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.509, allocations: 36.88 kB / 1.281 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/1.509, allocations: 45.8 kB / 1.281 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005441/1.514, allocations: 1.851 MB / 1.283 GB, free: 19.36 MB / 1.014 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.009006/1.523, allocations: 4.731 MB / 1.287 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00486/1.528, allocations: 1.571 MB / 1.289 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/1.53, allocations: 0.8565 MB / 1.29 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.532, allocations: 0.943 MB / 1.291 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/1.535, allocations: 0.9059 MB / 1.292 GB, free: 16.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 4.619e-06/1.535, allocations: 2.906 kB / 1.292 GB, free: 16.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008625/1.543, allocations: 2.45 MB / 1.294 GB, free: 16.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.544, allocations: 69.03 kB / 1.294 GB, free: 16.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.546, allocations: 1.197 MB / 1.295 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001815/1.547, allocations: 46.11 kB / 1.295 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006248/1.547, allocations: 0.538 MB / 1.296 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.548, allocations: 331.2 kB / 1.296 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/1.548, allocations: 187 kB / 1.296 GB, free: 15.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.548, allocations: 344 kB / 1.297 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.551, allocations: 0.6956 MB / 1.297 GB, free: 15.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/1.553, allocations: 0.9153 MB / 1.298 GB, free: 15.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/1.558, allocations: 1.556 MB / 1.3 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.558, allocations: 5.344 kB / 1.3 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005654/1.564, allocations: 1.78 MB / 1.301 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.564, allocations: 6.312 kB / 1.301 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.564, allocations: 4.219 kB / 1.301 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/1.564, allocations: 9.625 kB / 1.301 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.566, allocations: 345 kB / 1.302 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/1.566, allocations: 10.44 kB / 1.302 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.568, allocations: 254.5 kB / 1.302 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.568, allocations: 50.95 kB / 1.302 GB, free: 14.56 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.569, allocations: 343.1 kB / 1.302 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/1.57, allocations: 130 kB / 1.302 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/1.575, allocations: 1.8 MB / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.575, allocations: 15.34 kB / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.576, allocations: 0 / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.576, allocations: 6.375 kB / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009816/1.585, allocations: 3.335 MB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.585, allocations: 2.375 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.587, allocations: 285.8 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/1.587, allocations: 6.344 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.587, allocations: 36.55 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.612e-05/1.587, allocations: 13.19 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.587, allocations: 7.125 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007288/1.595, allocations: 2.846 MB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009349/1.596, allocations: 321 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/1.596, allocations: 27.94 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.598, allocations: 176.8 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.598, allocations: 66.61 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.598, allocations: 43.34 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001464/1.6, allocations: 0.8331 MB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.713e-06/1.6, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001773/1.601, allocations: 344.2 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/1.603, allocations: 0.5378 MB / 1.313 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005233/1.608, allocations: 1.626 MB / 1.314 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.608, allocations: 0 / 1.314 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.611, allocations: 0.835 MB / 1.315 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.614, allocations: 0.5896 MB / 1.316 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/1.622, allocations: 3.399 MB / 1.319 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.623, allocations: 1.188 MB / 1.32 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002088/1.625, allocations: 371.5 kB / 1.321 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/1.625, allocations: 115.9 kB / 1.321 GB, free: 10.17 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.625, allocations: 0 / 1.321 GB, free: 10.17 MB / 1.014 GB Notification: Performance of Templates: time 0.04815/1.673, allocations: 22.73 MB / 1.343 GB, free: 0.5977 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)