Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.002097/0.002097, allocations: 192.5 kB / 376.9 MB, free: 1.781 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.603/1.603, allocations: 205 MB / 0.6353 GB, free: 9.773 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.001025/0.001025, allocations: 96.86 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 51.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2867, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7622/1.049, allocations: 191.6 MB / 1.169 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01066/1.06, allocations: 5.045 MB / 1.174 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/1.061, allocations: 45.28 kB / 1.174 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/1.063, allocations: 0.7128 MB / 1.175 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.006822/1.07, allocations: 2.414 MB / 1.177 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/1.073, allocations: 1.026 MB / 1.178 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.078, allocations: 3.518 MB / 1.182 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/1.079, allocations: 0.7953 MB / 1.183 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/1.082, allocations: 1.022 MB / 1.184 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/1.083, allocations: 1.003 MB / 1.185 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/1.084, allocations: 52.59 kB / 1.185 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/1.088, allocations: 2.067 MB / 1.187 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/1.088, allocations: 424.5 kB / 1.187 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0008407/1.089, allocations: 0.631 MB / 1.188 GB, free: 1.785 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003904/1.093, allocations: 2.237 MB / 1.19 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.093, allocations: 0 / 1.19 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/1.093, allocations: 3.125 kB / 1.19 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.093, allocations: 0 / 1.19 GB, free: 0.9766 MB / 0.7761 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.005107/1.098, allocations: 1.949 MB / 1.192 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.098, allocations: 13.22 kB / 1.192 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.103, allocations: 0.7036 MB / 1.192 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.104, allocations: 0.8988 MB / 1.193 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/1.104, allocations: 72.89 kB / 1.193 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/1.105, allocations: 91.45 kB / 1.193 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/1.108, allocations: 1.46 MB / 1.195 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.108, allocations: 5.125 kB / 1.195 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.108, allocations: 32.28 kB / 1.195 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/1.108, allocations: 47.73 kB / 1.195 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004569/1.113, allocations: 1.559 MB / 1.196 GB, free: 14.03 MB / 0.7917 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.007628/1.121, allocations: 5.04 MB / 1.201 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/1.124, allocations: 1.187 MB / 1.203 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/1.126, allocations: 0.6687 MB / 1.203 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.127, allocations: 0.9373 MB / 1.204 GB, free: 9.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/1.129, allocations: 0.7283 MB / 1.205 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/1.129, allocations: 0 / 1.205 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82): time 0.006324/1.135, allocations: 1.958 MB / 1.207 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.135, allocations: 60.97 kB / 1.207 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/1.138, allocations: 1.274 MB / 1.208 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.138, allocations: 44.06 kB / 1.208 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.138, allocations: 0.5771 MB / 1.209 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/1.139, allocations: 278.9 kB / 1.209 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/1.139, allocations: 186.3 kB / 1.209 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.139, allocations: 345.9 kB / 1.209 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/1.141, allocations: 0.546 MB / 1.21 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/1.143, allocations: 0.8545 MB / 1.211 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/1.147, allocations: 1.337 MB / 1.212 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.147, allocations: 3.156 kB / 1.212 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004806/1.152, allocations: 1.517 MB / 1.214 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.152, allocations: 8.969 kB / 1.214 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.152, allocations: 6.562 kB / 1.214 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.152, allocations: 13.16 kB / 1.214 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.154, allocations: 293.3 kB / 1.214 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/1.154, allocations: 20.58 kB / 1.214 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.155, allocations: 219.2 kB / 1.214 GB, free: 4.691 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.155, allocations: 53.83 kB / 1.214 GB, free: 4.68 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0007186/1.156, allocations: 338.4 kB / 1.214 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/1.156, allocations: 135.9 kB / 1.215 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/1.161, allocations: 1.453 MB / 1.216 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.161, allocations: 8.531 kB / 1.216 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.161, allocations: 0.5625 kB / 1.216 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.161, allocations: 4.312 kB / 1.216 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/1.168, allocations: 2.878 MB / 1.219 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.168, allocations: 4.438 kB / 1.219 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.169, allocations: 224.3 kB / 1.219 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/1.169, allocations: 7.219 kB / 1.219 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.17, allocations: 27.34 kB / 1.219 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/1.17, allocations: 8.719 kB / 1.219 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.17, allocations: 11.97 kB / 1.219 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.183, allocations: 5.578 MB / 1.225 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/1.184, allocations: 305.4 kB / 1.225 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.184, allocations: 27.44 kB / 1.225 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.186, allocations: 128.6 kB / 1.225 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.186, allocations: 67.77 kB / 1.225 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.186, allocations: 35.7 kB / 1.225 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001651/1.188, allocations: 0.8787 MB / 1.226 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.11e-07/1.188, allocations: 0 / 1.226 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001806/1.19, allocations: 412.7 kB / 1.226 GB, free: 14.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001431/1.191, allocations: 0.5196 MB / 1.227 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00442/1.196, allocations: 1.309 MB / 1.228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.196, allocations: 1.438 kB / 1.228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.198, allocations: 0.6556 MB / 1.229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/1.201, allocations: 0.6088 MB / 1.229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/1.208, allocations: 3.434 MB / 1.233 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.21, allocations: 1.21 MB / 1.234 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002164/1.212, allocations: 354.4 kB / 1.234 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/1.212, allocations: 114.6 kB / 1.234 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.403e-06/1.212, allocations: 0 / 1.234 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.04663/1.259, allocations: 23.31 MB / 1.257 GB, free: 9.27 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)