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.001132/0.001133, allocations: 109.4 kB / 15.69 MB, free: 128 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.001102/0.001102, allocations: 185.8 kB / 16.62 MB, free: 6.613 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001454/0.001454, allocations: 70.89 kB / 0.6722 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2297, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6311/0.8609, allocations: 193.8 MB / 0.9734 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.8726, allocations: 5 MB / 0.9783 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.8747, allocations: 47.09 kB / 0.9783 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.8769, allocations: 0.814 MB / 0.9791 GB, free: 15.18 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.007154/0.8841, allocations: 2.566 MB / 0.9816 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.8871, allocations: 1.122 MB / 0.9827 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.8921, allocations: 2.652 MB / 0.9853 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.8938, allocations: 0.9557 MB / 0.9863 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.8963, allocations: 1.121 MB / 0.9873 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.8977, allocations: 0.9845 MB / 0.9883 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.8979, allocations: 87.09 kB / 0.9884 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.9025, allocations: 1.791 MB / 0.9901 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004703/0.903, allocations: 454.7 kB / 0.9906 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.9037, allocations: 0.6692 MB / 0.9912 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.9075, allocations: 2.235 MB / 0.9934 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9075, allocations: 0 / 0.9934 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9076, allocations: 4 kB / 0.9934 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.9076, allocations: 3.938 kB / 0.9934 GB, free: 8.086 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004764/0.9124, allocations: 1.98 MB / 0.9954 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9124, allocations: 10.06 kB / 0.9954 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.9175, allocations: 0.8899 MB / 0.9962 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9191, allocations: 0.9954 MB / 0.9972 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.9192, allocations: 72.8 kB / 0.9973 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.9193, allocations: 88.41 kB / 0.9974 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.9228, allocations: 1.587 MB / 0.9989 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.9228, allocations: 2.625 kB / 0.9989 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.923, allocations: 31.47 kB / 0.9989 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.923, allocations: 51.3 kB / 0.999 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/0.9279, allocations: 1.848 MB / 1.001 GB, free: 3.578 MB / 0.7325 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.007139/0.9351, allocations: 4.747 MB / 1.005 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.9394, allocations: 1.562 MB / 1.007 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.9416, allocations: 0.8568 MB / 1.008 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.9429, allocations: 0.9498 MB / 1.009 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/0.9454, allocations: 0.9099 MB / 1.01 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 4.078e-06/0.9454, allocations: 0 / 1.01 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007602/0.953, allocations: 2.458 MB / 1.012 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.9531, allocations: 62.22 kB / 1.012 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.9546, allocations: 1.212 MB / 1.013 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9548, allocations: 45.27 kB / 1.013 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.9552, allocations: 0.5496 MB / 1.014 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.9555, allocations: 322 kB / 1.014 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.9558, allocations: 189.9 kB / 1.014 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.956, allocations: 343.6 kB / 1.015 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.9581, allocations: 0.6998 MB / 1.015 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.9604, allocations: 0.9327 MB / 1.016 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.9646, allocations: 1.55 MB / 1.018 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.9647, allocations: 2.75 kB / 1.018 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005024/0.9697, allocations: 1.784 MB / 1.02 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.9697, allocations: 7.625 kB / 1.02 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.9697, allocations: 4.875 kB / 1.02 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.9698, allocations: 7.656 kB / 1.02 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9715, allocations: 345.3 kB / 1.02 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.9716, allocations: 15.73 kB / 1.02 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.9734, allocations: 236.5 kB / 1.02 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9736, allocations: 46.19 kB / 1.02 GB, free: 7.195 MB / 0.7481 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.0007365/0.9743, allocations: 341.2 kB / 1.02 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.9746, allocations: 147.5 kB / 1.021 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/0.9795, allocations: 1.794 MB / 1.022 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9796, allocations: 14.06 kB / 1.022 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.9796, allocations: 0 / 1.022 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.9796, allocations: 3.984 kB / 1.022 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.987, allocations: 3.328 MB / 1.026 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.987, allocations: 4 kB / 1.026 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.9886, allocations: 294.1 kB / 1.026 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.9886, allocations: 11.94 kB / 1.026 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.9887, allocations: 35.97 kB / 1.026 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.9887, allocations: 10.06 kB / 1.026 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.9887, allocations: 7.938 kB / 1.026 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.996, allocations: 2.84 MB / 1.029 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.9968, allocations: 327.1 kB / 1.029 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.997, allocations: 28 kB / 1.029 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.9983, allocations: 155.8 kB / 1.029 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.9985, allocations: 72.44 kB / 1.029 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.9986, allocations: 43.97 kB / 1.029 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001053/0.9997, allocations: 0.8357 MB / 1.03 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9997, allocations: 0 / 1.03 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001098/1.001, allocations: 343.6 kB / 1.03 GB, free: 13.46 MB / 0.7637 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.001311/1.002, allocations: 0.5351 MB / 1.031 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004723/1.007, allocations: 1.631 MB / 1.033 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.007, allocations: 256 / 1.033 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.009, allocations: 0.8429 MB / 1.033 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.013, allocations: 0.6445 MB / 1.034 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/1.019, allocations: 2.981 MB / 1.037 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/1.02, allocations: 1.183 MB / 1.038 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00151/1.021, allocations: 370.2 kB / 1.038 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/1.022, allocations: 115.4 kB / 1.039 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of SimCode: time 7.41e-07/1.022, allocations: 0 / 1.039 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of Templates: time 0.04158/1.063, allocations: 24.25 MB / 1.062 GB, free: 13.39 MB / 0.795 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)