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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.5488 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.58 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2141, allocations: 114.6 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6424/0.8565, allocations: 193.8 MB / 0.9727 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00829/0.8648, allocations: 4.998 MB / 0.9775 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.8663, allocations: 50.06 kB / 0.9776 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.8681, allocations: 0.8064 MB / 0.9784 GB, free: 5.555 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008182/0.8763, allocations: 2.57 MB / 0.9809 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.8793, allocations: 1.109 MB / 0.982 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004298/0.8837, allocations: 2.575 MB / 0.9845 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.8853, allocations: 0.9072 MB / 0.9854 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.888, allocations: 1.084 MB / 0.9864 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.8898, allocations: 0.9547 MB / 0.9874 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.8901, allocations: 81.06 kB / 0.9874 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004896/0.895, allocations: 1.784 MB / 0.9892 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.8956, allocations: 440.4 kB / 0.9896 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.8968, allocations: 0.6537 MB / 0.9902 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.9005, allocations: 2.173 MB / 0.9924 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9006, allocations: 0 / 0.9924 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9006, allocations: 0 / 0.9924 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.9006, allocations: 0 / 0.9924 GB, free: 4.215 MB / 0.7325 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.004763/0.9054, allocations: 1.945 MB / 0.9943 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.9054, allocations: 10.88 kB / 0.9943 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.9098, allocations: 0.7097 MB / 0.995 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.9112, allocations: 0.8996 MB / 0.9958 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.9112, allocations: 67.12 kB / 0.9959 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.9114, allocations: 87.06 kB / 0.996 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.9143, allocations: 1.469 MB / 0.9974 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.9143, allocations: 8.594 kB / 0.9974 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.9144, allocations: 36.45 kB / 0.9975 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.9145, allocations: 45.88 kB / 0.9975 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.9185, allocations: 1.562 MB / 0.999 GB, free: 17.38 MB / 0.7481 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.006412/0.9249, allocations: 5.051 MB / 1.004 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.9282, allocations: 1.183 MB / 1.005 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.9299, allocations: 0.6691 MB / 1.006 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.9313, allocations: 0.9437 MB / 1.007 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.9331, allocations: 0.7213 MB / 1.007 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.9331, allocations: 0 / 1.007 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005862/0.939, allocations: 1.952 MB / 1.009 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.9391, allocations: 64.03 kB / 1.009 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.9405, allocations: 1.276 MB / 1.011 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.9406, allocations: 52.08 kB / 1.011 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.941, allocations: 0.5806 MB / 1.011 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.9412, allocations: 281.5 kB / 1.012 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.9415, allocations: 187.3 kB / 1.012 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9417, allocations: 347.9 kB / 1.012 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.9433, allocations: 0.5393 MB / 1.013 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.9451, allocations: 0.853 MB / 1.013 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.9484, allocations: 1.341 MB / 1.015 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9484, allocations: 4.438 kB / 1.015 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003835/0.9523, allocations: 1.513 MB / 1.016 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.9523, allocations: 8.406 kB / 1.016 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.9523, allocations: 7.344 kB / 1.016 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.9524, allocations: 10.25 kB / 1.016 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.9538, allocations: 293.1 kB / 1.016 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.9538, allocations: 20.64 kB / 1.016 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.9554, allocations: 204.2 kB / 1.017 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.9555, allocations: 50.78 kB / 1.017 GB, free: 6.223 MB / 0.7481 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.000759/0.9563, allocations: 348.8 kB / 1.017 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.9565, allocations: 134.9 kB / 1.017 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.9605, allocations: 1.441 MB / 1.019 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.9605, allocations: 8.594 kB / 1.019 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9605, allocations: 0 / 1.019 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.9605, allocations: 3.984 kB / 1.019 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.9664, allocations: 2.882 MB / 1.021 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.9664, allocations: 4.562 kB / 1.021 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.9677, allocations: 226.8 kB / 1.022 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.9677, allocations: 7.375 kB / 1.022 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.9678, allocations: 28.12 kB / 1.022 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.9678, allocations: 11.83 kB / 1.022 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.9678, allocations: 7.312 kB / 1.022 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.9734, allocations: 2.31 MB / 1.024 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.974, allocations: 301.4 kB / 1.024 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.9742, allocations: 26.45 kB / 1.024 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.9753, allocations: 112.3 kB / 1.024 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.9754, allocations: 62.48 kB / 1.024 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.9755, allocations: 41.06 kB / 1.024 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001013/0.9765, allocations: 0.8722 MB / 1.025 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9765, allocations: 0 / 1.025 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009909/0.9775, allocations: 319.9 kB / 1.026 GB, free: 1.07 MB / 0.7481 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.001141/0.9787, allocations: 0.5445 MB / 1.026 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.9825, allocations: 1.436 MB / 1.028 GB, free: 232 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9825, allocations: 0 / 1.028 GB, free: 232 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.9843, allocations: 0.6595 MB / 1.028 GB, free: 15.95 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.987, allocations: 0.6593 MB / 1.029 GB, free: 15.59 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.9917, allocations: 2.589 MB / 1.031 GB, free: 14.02 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.9924, allocations: 1.181 MB / 1.033 GB, free: 13.11 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001386/0.9938, allocations: 347.7 kB / 1.033 GB, free: 12.86 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.9942, allocations: 111.4 kB / 1.033 GB, free: 12.75 MB / 0.7638 GB Notification: Performance of SimCode: time 4.9e-07/0.9942, allocations: 0 / 1.033 GB, free: 12.75 MB / 0.7638 GB Notification: Performance of Templates: time 0.0392/1.033, allocations: 23.63 MB / 1.056 GB, free: 5.531 MB / 0.7794 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)