Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001118/0.001118, 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.001235/0.001235, allocations: 195.5 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.461/1.461, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.634/1.634, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001459/0.001459, allocations: 67.89 kB / 0.6223 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4931, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.75/1.243, allocations: 194.1 MB / 0.9141 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.254, allocations: 5.148 MB / 0.9191 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/1.256, allocations: 49.59 kB / 0.9192 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/1.259, allocations: 0.8157 MB / 0.92 GB, free: 1.758 MB / 0.7169 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.008275/1.267, allocations: 2.566 MB / 0.9225 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/1.271, allocations: 1.109 MB / 0.9235 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006391/1.278, allocations: 2.649 MB / 0.9261 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/1.28, allocations: 0.9576 MB / 0.9271 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/1.284, allocations: 1.108 MB / 0.9282 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/1.287, allocations: 0.9968 MB / 0.9291 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/1.287, allocations: 90.09 kB / 0.9292 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/1.291, allocations: 1.785 MB / 0.931 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006697/1.292, allocations: 459.9 kB / 0.9314 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/1.293, allocations: 0.6661 MB / 0.932 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005429/1.299, allocations: 2.205 MB / 0.9342 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.299, allocations: 0.9062 kB / 0.9342 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.299, allocations: 0 / 0.9342 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.628e-05/1.299, allocations: 0.75 kB / 0.9342 GB, free: 1.398 MB / 0.7169 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.005638/1.305, allocations: 1.982 MB / 0.9361 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.305, allocations: 10.78 kB / 0.9361 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/1.31, allocations: 0.9029 MB / 0.937 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/1.312, allocations: 0.9126 MB / 0.9379 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/1.313, allocations: 69.75 kB / 0.938 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/1.313, allocations: 92.52 kB / 0.9381 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/1.317, allocations: 1.585 MB / 0.9396 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.317, allocations: 2.375 kB / 0.9396 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.317, allocations: 35.42 kB / 0.9397 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/1.317, allocations: 52.83 kB / 0.9397 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/1.322, allocations: 1.846 MB / 0.9415 GB, free: 15.85 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.007766/1.33, allocations: 4.771 MB / 0.9462 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.334, allocations: 1.567 MB / 0.9477 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/1.337, allocations: 0.8549 MB / 0.9485 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.338, allocations: 0.9453 MB / 0.9495 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/1.341, allocations: 0.9158 MB / 0.9504 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.386e-06/1.341, allocations: 0 / 0.9504 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007938/1.349, allocations: 2.451 MB / 0.9527 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/1.349, allocations: 63.78 kB / 0.9528 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.35, allocations: 1.212 MB / 0.954 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.35, allocations: 44.08 kB / 0.954 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.351, allocations: 0.5423 MB / 0.9546 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/1.351, allocations: 326.8 kB / 0.9549 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/1.351, allocations: 194.3 kB / 0.9551 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.352, allocations: 340.3 kB / 0.9554 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.354, allocations: 0.7044 MB / 0.9561 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.356, allocations: 0.9298 MB / 0.957 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/1.361, allocations: 1.553 MB / 0.9585 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.361, allocations: 7.875 kB / 0.9585 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005193/1.366, allocations: 1.777 MB / 0.9602 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.366, allocations: 7.281 kB / 0.9602 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.366, allocations: 4.25 kB / 0.9602 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.366, allocations: 10.12 kB / 0.9603 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.368, allocations: 342.5 kB / 0.9606 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.368, allocations: 18.44 kB / 0.9606 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.369, allocations: 235.9 kB / 0.9608 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.37, allocations: 52.42 kB / 0.9609 GB, free: 11.11 MB / 0.7325 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.0005697/1.37, allocations: 333.1 kB / 0.9612 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/1.37, allocations: 141.5 kB / 0.9613 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/1.376, allocations: 1.801 MB / 0.9631 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.376, allocations: 8.094 kB / 0.9631 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.376, allocations: 2.375 kB / 0.9631 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.376, allocations: 4.969 kB / 0.9631 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/1.383, allocations: 3.341 MB / 0.9664 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.383, allocations: 2.75 kB / 0.9664 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.385, allocations: 286.2 kB / 0.9666 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/1.385, allocations: 12.28 kB / 0.9667 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/1.385, allocations: 32.69 kB / 0.9667 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/1.385, allocations: 13.2 kB / 0.9667 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.385, allocations: 3.406 kB / 0.9667 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/1.394, allocations: 2.844 MB / 0.9695 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.395, allocations: 320.6 kB / 0.9698 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/1.396, allocations: 26.42 kB / 0.9698 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.398, allocations: 157.1 kB / 0.97 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.398, allocations: 68.78 kB / 0.97 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/1.398, allocations: 47.73 kB / 0.9701 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001053/1.399, allocations: 0.838 MB / 0.9709 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.399, allocations: 0 / 0.9709 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001231/1.4, allocations: 349.6 kB / 0.9712 GB, free: 9.422 MB / 0.7325 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.001305/1.401, allocations: 0.5363 MB / 0.9717 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00554/1.407, allocations: 1.782 MB / 0.9735 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.407, allocations: 5.562 kB / 0.9735 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/1.409, allocations: 0.8327 MB / 0.9743 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.413, allocations: 0.6399 MB / 0.9749 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/1.42, allocations: 3.007 MB / 0.9779 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/1.42, allocations: 1.184 MB / 0.979 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001987/1.422, allocations: 371.9 kB / 0.9794 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/1.423, allocations: 116.3 kB / 0.9795 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.423, allocations: 0 / 0.9795 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of Templates: time 0.04367/1.467, allocations: 24.27 MB / 1.003 GB, free: 15.41 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)