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.001167/0.001167, allocations: 105 kB / 16.36 MB, free: 6.426 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.001159/0.001159, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001587/0.001587, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2157, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5761/0.7919, allocations: 193.8 MB / 0.9741 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008612/0.8005, allocations: 5.014 MB / 0.979 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000991/0.8015, allocations: 47.69 kB / 0.979 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.8034, allocations: 0.8081 MB / 0.9798 GB, free: 2.289 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.005972/0.8094, allocations: 2.567 MB / 0.9823 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.8122, allocations: 1.115 MB / 0.9834 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004244/0.8165, allocations: 2.664 MB / 0.986 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.818, allocations: 0.9485 MB / 0.9869 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.8204, allocations: 1.117 MB / 0.988 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.8218, allocations: 0.9924 MB / 0.989 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.822, allocations: 84 kB / 0.9891 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.8257, allocations: 1.8 MB / 0.9908 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.8262, allocations: 446.6 kB / 0.9912 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.8269, allocations: 0.6707 MB / 0.9919 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.8302, allocations: 2.235 MB / 0.9941 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8302, allocations: 0 / 0.9941 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8302, allocations: 0.6562 kB / 0.9941 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.8303, allocations: 0 / 0.9941 GB, free: 3.613 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.005059/0.8353, allocations: 1.975 MB / 0.996 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8354, allocations: 12.03 kB / 0.996 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.8411, allocations: 0.9032 MB / 0.9969 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.8427, allocations: 0.9179 MB / 0.9978 GB, free: 15.69 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.8428, allocations: 66 kB / 0.9979 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.843, allocations: 95 kB / 0.998 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.8465, allocations: 1.591 MB / 0.9995 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.8466, allocations: 0 / 0.9995 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.8467, allocations: 36 kB / 0.9995 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.8468, allocations: 45.98 kB / 0.9996 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005251/0.852, allocations: 1.846 MB / 1.001 GB, free: 11.98 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.007637/0.8597, allocations: 4.748 MB / 1.006 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.864, allocations: 1.569 MB / 1.008 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.8662, allocations: 0.8597 MB / 1.008 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.8675, allocations: 0.9374 MB / 1.009 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/0.8699, allocations: 0.9105 MB / 1.01 GB, free: 2.523 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 2.856e-06/0.8699, allocations: 0 / 1.01 GB, free: 2.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.007497/0.8774, allocations: 2.458 MB / 1.013 GB, free: 64 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.8775, allocations: 60.45 kB / 1.013 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8788, allocations: 1.209 MB / 1.014 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.8789, allocations: 49.7 kB / 1.014 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.8793, allocations: 0.5448 MB / 1.014 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.8796, allocations: 319.4 kB / 1.015 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.8799, allocations: 194.5 kB / 1.015 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.88, allocations: 345.9 kB / 1.015 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.8822, allocations: 0.6966 MB / 1.016 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.8844, allocations: 0.9333 MB / 1.017 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.8887, allocations: 1.561 MB / 1.018 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.8887, allocations: 0 / 1.018 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004839/0.8935, allocations: 1.776 MB / 1.02 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.8936, allocations: 8.781 kB / 1.02 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8936, allocations: 5.125 kB / 1.02 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.8936, allocations: 8 kB / 1.02 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.8955, allocations: 343.9 kB / 1.02 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.8955, allocations: 11.98 kB / 1.02 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8971, allocations: 242.7 kB / 1.021 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8972, allocations: 48.53 kB / 1.021 GB, free: 7.547 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.0005673/0.8978, allocations: 337.1 kB / 1.021 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.898, allocations: 142.2 kB / 1.021 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/0.903, allocations: 1.8 MB / 1.023 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.903, allocations: 8 kB / 1.023 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.9031, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.9031, allocations: 9.297 kB / 1.023 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007166/0.9102, allocations: 3.328 MB / 1.026 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.9103, allocations: 7.938 kB / 1.026 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.912, allocations: 302.5 kB / 1.027 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.912, allocations: 12 kB / 1.027 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.9121, allocations: 31.97 kB / 1.027 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.9122, allocations: 11.98 kB / 1.027 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9122, allocations: 7.938 kB / 1.027 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007083/0.9193, allocations: 2.824 MB / 1.029 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006378/0.9199, allocations: 335 kB / 1.03 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.9201, allocations: 28 kB / 1.03 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.9216, allocations: 155.8 kB / 1.03 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.9218, allocations: 72.44 kB / 1.03 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/0.9219, allocations: 47.97 kB / 1.03 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009729/0.9229, allocations: 0.8368 MB / 1.031 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9229, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001031/0.9239, allocations: 335.7 kB / 1.031 GB, free: 12.74 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.001319/0.9253, allocations: 0.5301 MB / 1.032 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004613/0.9299, allocations: 1.634 MB / 1.033 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.9299, allocations: 4.25 kB / 1.033 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/0.9322, allocations: 0.8396 MB / 1.034 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.9348, allocations: 0.6412 MB / 1.035 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.9405, allocations: 2.98 MB / 1.038 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.9412, allocations: 1.19 MB / 1.039 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001308/0.9425, allocations: 365 kB / 1.039 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.943, allocations: 119.4 kB / 1.039 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.943, allocations: 0 / 1.039 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.03648/0.9795, allocations: 24.25 MB / 1.063 GB, free: 12.77 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)