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.0008117/0.000812, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000896/0.0008962, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.609/1.609, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005345/0.0005348, allocations: 12.81 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.611/0.8186, allocations: 176.3 MB / 0.9595 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009303/0.8279, allocations: 4.777 MB / 0.9641 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.83, allocations: 48.69 kB / 0.9642 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.832, allocations: 0.6103 MB / 0.9648 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.8381, allocations: 1.868 MB / 0.9666 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.8409, allocations: 0.9169 MB / 0.9675 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004456/0.8454, allocations: 3.047 MB / 0.9705 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.847, allocations: 0.756 MB / 0.9712 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.8493, allocations: 1.018 MB / 0.9722 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.8509, allocations: 0.9444 MB / 0.9731 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.8511, allocations: 53.47 kB / 0.9732 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.8539, allocations: 0.9362 MB / 0.9741 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004947/0.8544, allocations: 406.8 kB / 0.9745 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.8551, allocations: 274.9 kB / 0.9747 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.8572, allocations: 1.396 MB / 0.9761 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8573, allocations: 3.312 kB / 0.9761 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8573, allocations: 0 / 0.9761 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.8573, allocations: 0 / 0.9761 GB, free: 18.42 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.004181/0.8615, allocations: 1.735 MB / 0.9778 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.8615, allocations: 12.47 kB / 0.9778 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/0.8662, allocations: 0.9204 MB / 0.9787 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.8677, allocations: 0.868 MB / 0.9796 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.8678, allocations: 77.55 kB / 0.9796 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.8679, allocations: 97.64 kB / 0.9797 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.8711, allocations: 1.571 MB / 0.9813 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.8711, allocations: 3.938 kB / 0.9813 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8712, allocations: 36.73 kB / 0.9813 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.8713, allocations: 46.89 kB / 0.9814 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.8755, allocations: 1.841 MB / 0.9831 GB, free: 15.54 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.006724/0.8822, allocations: 4.75 MB / 0.9878 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.8858, allocations: 1.591 MB / 0.9893 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.8877, allocations: 0.8515 MB / 0.9902 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.8888, allocations: 0.9523 MB / 0.9911 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.8909, allocations: 0.9155 MB / 0.992 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.8909, allocations: 0 / 0.992 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.006434/0.8973, allocations: 2.444 MB / 0.9944 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.8974, allocations: 63.97 kB / 0.9944 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.8987, allocations: 1.198 MB / 0.9956 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.8988, allocations: 49.33 kB / 0.9957 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.8992, allocations: 0.5449 MB / 0.9962 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.8994, allocations: 325.2 kB / 0.9965 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.8995, allocations: 21.88 kB / 0.9965 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8996, allocations: 340.9 kB / 0.9969 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.9014, allocations: 0.7009 MB / 0.9975 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.9033, allocations: 0.9191 MB / 0.9984 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.905, allocations: 0.7261 MB / 0.9991 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9051, allocations: 2.906 kB / 0.9991 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004114/0.9092, allocations: 1.77 MB / 1.001 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.9092, allocations: 14.72 kB / 1.001 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9092, allocations: 3.312 kB / 1.001 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.9093, allocations: 10.47 kB / 1.001 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.9108, allocations: 337.4 kB / 1.001 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.9109, allocations: 16.33 kB / 1.001 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.9124, allocations: 261.9 kB / 1.001 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9125, allocations: 49.38 kB / 1.002 GB, free: 7.656 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005423/0.913, allocations: 331.3 kB / 1.002 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.9132, allocations: 141.4 kB / 1.002 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.9175, allocations: 1.8 MB / 1.004 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9175, allocations: 8.719 kB / 1.004 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9175, allocations: 0 / 1.004 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9176, allocations: 3.984 kB / 1.004 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006016/0.9236, allocations: 3.333 MB / 1.007 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.9236, allocations: 6.188 kB / 1.007 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.9251, allocations: 289.9 kB / 1.007 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.9251, allocations: 7.969 kB / 1.007 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/0.9252, allocations: 35.56 kB / 1.007 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.9252, allocations: 12.62 kB / 1.007 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9252, allocations: 5.094 kB / 1.007 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.9313, allocations: 2.826 MB / 1.01 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.9319, allocations: 333 kB / 1.01 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.9321, allocations: 26.28 kB / 1.01 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9334, allocations: 182.7 kB / 1.011 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.9335, allocations: 72.27 kB / 1.011 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.9336, allocations: 36.97 kB / 1.011 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009511/0.9346, allocations: 0.8307 MB / 1.012 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9346, allocations: 0 / 1.012 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001005/0.9356, allocations: 347.5 kB / 1.012 GB, free: 4.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.9367, allocations: 0.5309 MB / 1.012 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.9407, allocations: 1.612 MB / 1.014 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9407, allocations: 0 / 1.014 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.9427, allocations: 0.8307 MB / 1.015 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.9453, allocations: 0.6027 MB / 1.015 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.951, allocations: 3.404 MB / 1.019 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.9517, allocations: 1.191 MB / 1.02 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001682/0.9533, allocations: 378.1 kB / 1.02 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.9538, allocations: 115.7 kB / 1.02 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/0.9538, allocations: 0 / 1.02 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.03526/0.989, allocations: 22.38 MB / 1.042 GB, free: 8.121 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: