Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007625/0.007625, allocations: 108 kB / 15.74 MB, free: 6.445 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.001876/0.001876, allocations: 191.5 kB / 16.67 MB, free: 6.355 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.428/1.428, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.7 MB / 0.5094 GB, free: 3.102 MB / 414.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.00143/0.00143, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2037, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7936/0.9973, allocations: 194.2 MB / 1.018 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008653/1.006, allocations: 5.139 MB / 1.023 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.007, allocations: 47.94 kB / 1.023 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/1.009, allocations: 0.8174 MB / 1.024 GB, free: 1 MB / 0.7637 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.006519/1.016, allocations: 2.563 MB / 1.026 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/1.019, allocations: 1.119 MB / 1.027 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003444/1.022, allocations: 2.574 MB / 1.03 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/1.024, allocations: 0.8987 MB / 1.031 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/1.026, allocations: 1.094 MB / 1.032 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.028, allocations: 0.9618 MB / 1.033 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003614/1.029, allocations: 83.31 kB / 1.033 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/1.033, allocations: 1.779 MB / 1.034 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008366/1.034, allocations: 442.6 kB / 1.035 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/1.035, allocations: 0.6565 MB / 1.035 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005269/1.041, allocations: 2.195 MB / 1.038 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.041, allocations: 0 / 1.038 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/1.041, allocations: 0 / 1.038 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.333e-05/1.041, allocations: 0 / 1.038 GB, free: 6.227 MB / 0.7794 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.006132/1.047, allocations: 1.957 MB / 1.039 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.047, allocations: 8.031 kB / 1.039 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/1.051, allocations: 0.7044 MB / 1.04 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/1.053, allocations: 0.9686 MB / 1.041 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/1.054, allocations: 66 kB / 1.041 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/1.054, allocations: 91.89 kB / 1.041 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/1.057, allocations: 1.469 MB / 1.043 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.057, allocations: 7.938 kB / 1.043 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.057, allocations: 36 kB / 1.043 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.057, allocations: 49.97 kB / 1.043 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004432/1.062, allocations: 1.557 MB / 1.044 GB, free: 15.14 MB / 0.795 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.007235/1.069, allocations: 5.032 MB / 1.049 GB, free: 9.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/1.073, allocations: 1.176 MB / 1.05 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/1.075, allocations: 0.6629 MB / 1.051 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.076, allocations: 0.9448 MB / 1.052 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002017/1.078, allocations: 0.7225 MB / 1.053 GB, free: 6.129 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/1.078, allocations: 0 / 1.053 GB, free: 6.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=82): time 0.006287/1.084, allocations: 1.96 MB / 1.055 GB, free: 4.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.084, allocations: 64 kB / 1.055 GB, free: 4.086 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.086, allocations: 1.277 MB / 1.056 GB, free: 2.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.086, allocations: 41.7 kB / 1.056 GB, free: 2.742 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/1.087, allocations: 0.5756 MB / 1.056 GB, free: 2.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.087, allocations: 284 kB / 1.057 GB, free: 1.879 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/1.087, allocations: 186.5 kB / 1.057 GB, free: 1.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.088, allocations: 345.9 kB / 1.057 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/1.089, allocations: 0.5484 MB / 1.058 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/1.091, allocations: 0.839 MB / 1.059 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.095, allocations: 1.344 MB / 1.06 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.095, allocations: 0 / 1.06 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004313/1.099, allocations: 1.522 MB / 1.061 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.099, allocations: 10.81 kB / 1.061 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.099, allocations: 8 kB / 1.061 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.256e-05/1.099, allocations: 12.81 kB / 1.061 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.101, allocations: 291.6 kB / 1.062 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.274e-05/1.101, allocations: 19.92 kB / 1.062 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.103, allocations: 202.7 kB / 1.062 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.103, allocations: 51.97 kB / 1.062 GB, free: 12.3 MB / 0.8106 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.0007893/1.104, allocations: 343.5 kB / 1.062 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/1.104, allocations: 138.3 kB / 1.062 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/1.109, allocations: 1.452 MB / 1.064 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.109, allocations: 8 kB / 1.064 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.109, allocations: 0 / 1.064 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.109, allocations: 3.984 kB / 1.064 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006537/1.115, allocations: 2.873 MB / 1.067 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.115, allocations: 4 kB / 1.067 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.117, allocations: 219.7 kB / 1.067 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/1.117, allocations: 11.94 kB / 1.067 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.852e-05/1.117, allocations: 31.97 kB / 1.067 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/1.117, allocations: 11.98 kB / 1.067 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.117, allocations: 9.562 kB / 1.067 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/1.123, allocations: 2.314 MB / 1.069 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/1.123, allocations: 299.2 kB / 1.069 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/1.124, allocations: 23.98 kB / 1.07 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.125, allocations: 112.9 kB / 1.07 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.125, allocations: 68.36 kB / 1.07 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/1.125, allocations: 35.97 kB / 1.07 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001276/1.127, allocations: 0.8804 MB / 1.071 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/1.127, allocations: 0 / 1.071 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001567/1.128, allocations: 323.6 kB / 1.071 GB, free: 2.945 MB / 0.8106 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.00188/1.13, allocations: 0.5262 MB / 1.071 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004145/1.134, allocations: 1.323 MB / 1.073 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.134, allocations: 256 / 1.073 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/1.136, allocations: 0.6558 MB / 1.073 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.14, allocations: 0.6616 MB / 1.074 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/1.145, allocations: 2.562 MB / 1.076 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/1.146, allocations: 1.175 MB / 1.078 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001455/1.147, allocations: 350.4 kB / 1.078 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.148, allocations: 119.4 kB / 1.078 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of SimCode: time 9.71e-07/1.148, allocations: 0 / 1.078 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.04202/1.19, allocations: 23.79 MB / 1.101 GB, free: 4.215 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)