Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001435/0.001435, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.00157/0.00157, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.347/1.347, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.861/1.861, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001607/0.001608, allocations: 67.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2513, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5778/0.8292, allocations: 193.8 MB / 0.9734 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.8393, allocations: 5.006 MB / 0.9783 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.8405, allocations: 51.62 kB / 0.9783 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.8423, allocations: 0.812 MB / 0.9791 GB, free: 2.73 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.005923/0.8483, allocations: 2.575 MB / 0.9816 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.8511, allocations: 1.112 MB / 0.9827 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.8547, allocations: 2.644 MB / 0.9853 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.8559, allocations: 0.9562 MB / 0.9862 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.8576, allocations: 1.113 MB / 0.9873 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.8589, allocations: 0.9884 MB / 0.9883 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.8591, allocations: 88 kB / 0.9884 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.8624, allocations: 1.793 MB / 0.9901 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.8629, allocations: 454.5 kB / 0.9905 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006914/0.8636, allocations: 0.6721 MB / 0.9912 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.8669, allocations: 2.239 MB / 0.9934 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8669, allocations: 0 / 0.9934 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8669, allocations: 0 / 0.9934 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.8669, allocations: 0 / 0.9934 GB, free: 4.059 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00481/0.8717, allocations: 1.987 MB / 0.9953 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8718, allocations: 8.031 kB / 0.9953 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.8772, allocations: 0.8954 MB / 0.9962 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.8787, allocations: 0.9217 MB / 0.9971 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.8788, allocations: 66 kB / 0.9972 GB, free: 68 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.879, allocations: 96.03 kB / 0.9973 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/0.8826, allocations: 1.578 MB / 0.9988 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.8826, allocations: 0 / 0.9988 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.8827, allocations: 36 kB / 0.9988 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/0.8828, allocations: 49.98 kB / 0.9989 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005054/0.8878, allocations: 1.854 MB / 1.001 GB, free: 12.43 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.007324/0.8952, allocations: 4.744 MB / 1.005 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.8994, allocations: 1.553 MB / 1.007 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.9016, allocations: 0.8636 MB / 1.008 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.9029, allocations: 0.9373 MB / 1.009 GB, free: 3.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002352/0.9052, allocations: 0.9105 MB / 1.009 GB, free: 2.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 3.306e-06/0.9053, allocations: 4 kB / 1.009 GB, free: 2.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.007221/0.9125, allocations: 2.458 MB / 1.012 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.9126, allocations: 68.34 kB / 1.012 GB, free: 448 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.9139, allocations: 1.202 MB / 1.013 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.9141, allocations: 49.64 kB / 1.013 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.9145, allocations: 0.5487 MB / 1.014 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.9148, allocations: 323.3 kB / 1.014 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.9151, allocations: 190.5 kB / 1.014 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.9152, allocations: 345.9 kB / 1.015 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.9172, allocations: 0.6966 MB / 1.015 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.9194, allocations: 0.9339 MB / 1.016 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.9235, allocations: 1.554 MB / 1.018 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9235, allocations: 0 / 1.018 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004787/0.9283, allocations: 1.78 MB / 1.019 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.9284, allocations: 8 kB / 1.019 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.9284, allocations: 9.297 kB / 1.019 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.9284, allocations: 9 kB / 1.019 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.9302, allocations: 347.5 kB / 1.02 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.9302, allocations: 18.19 kB / 1.02 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.9317, allocations: 234.7 kB / 1.02 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.9319, allocations: 51.97 kB / 1.02 GB, free: 7.992 MB / 0.8106 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.0005489/0.9324, allocations: 329.3 kB / 1.02 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.9326, allocations: 150.8 kB / 1.02 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/0.9376, allocations: 1.796 MB / 1.022 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9376, allocations: 8 kB / 1.022 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9376, allocations: 0 / 1.022 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.9376, allocations: 3.984 kB / 1.022 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.9447, allocations: 3.328 MB / 1.025 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.9448, allocations: 5.25 kB / 1.026 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.9464, allocations: 299.5 kB / 1.026 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.9464, allocations: 8 kB / 1.026 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.9465, allocations: 37.16 kB / 1.026 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.9465, allocations: 11.98 kB / 1.026 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9465, allocations: 4 kB / 1.026 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007075/0.9536, allocations: 2.843 MB / 1.029 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.9543, allocations: 331 kB / 1.029 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.9545, allocations: 25.97 kB / 1.029 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.956, allocations: 151.8 kB / 1.029 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.9561, allocations: 80.44 kB / 1.029 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.923e-05/0.9563, allocations: 35.97 kB / 1.029 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001136/0.9574, allocations: 0.8396 MB / 1.03 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9574, allocations: 0 / 1.03 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00108/0.9585, allocations: 339.7 kB / 1.03 GB, free: 13.19 MB / 0.8262 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.001338/0.9598, allocations: 0.5352 MB / 1.031 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004733/0.9646, allocations: 1.63 MB / 1.032 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9646, allocations: 0 / 1.032 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.967, allocations: 0.8477 MB / 1.033 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.97, allocations: 0.6317 MB / 1.034 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.9762, allocations: 2.981 MB / 1.037 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/0.9771, allocations: 1.191 MB / 1.038 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001426/0.9785, allocations: 364.8 kB / 1.038 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.979, allocations: 119.4 kB / 1.038 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of SimCode: time 8.81e-07/0.979, allocations: 0 / 1.038 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.04/1.019, allocations: 24.25 MB / 1.062 GB, free: 13.23 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)