Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001076, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009105/0.0009104, allocations: 94.59 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 16.09 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.477/4.674, allocations: 2.068 GB / 3.047 GB, free: 249.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/4.674, allocations: 87.95 kB / 3.047 GB, free: 249.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.427/7.102, allocations: 0.6812 GB / 3.729 GB, free: 191.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/7.102, allocations: 0 / 3.729 GB, free: 191.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002275/7.102, allocations: 44.81 kB / 3.729 GB, free: 191.4 MB / 0.948 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.008123/7.11, allocations: 1.956 MB / 3.731 GB, free: 190.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/7.11, allocations: 9.375 kB / 3.731 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/7.116, allocations: 0.8852 MB / 3.731 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/7.12, allocations: 1.113 MB / 3.733 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/7.12, allocations: 74.72 kB / 3.733 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/7.12, allocations: 95.45 kB / 3.733 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/7.125, allocations: 1.54 MB / 3.734 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/7.125, allocations: 2.156 kB / 3.734 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/7.125, allocations: 34.38 kB / 3.734 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.638e-05/7.125, allocations: 45.91 kB / 3.734 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004862/7.13, allocations: 1.797 MB / 3.736 GB, free: 190.1 MB / 0.948 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.008918/7.139, allocations: 4.796 MB / 3.741 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/7.143, allocations: 1.574 MB / 3.742 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/7.144, allocations: 0.947 MB / 3.743 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/7.146, allocations: 0.8985 MB / 3.744 GB, free: 187.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.849e-06/7.146, allocations: 0 / 3.744 GB, free: 187.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007408/7.154, allocations: 2.433 MB / 3.746 GB, free: 187.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/7.154, allocations: 61.09 kB / 3.746 GB, free: 187 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/7.156, allocations: 1.064 MB / 3.747 GB, free: 186.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002356/7.156, allocations: 54.45 kB / 3.748 GB, free: 186.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/7.157, allocations: 0.547 MB / 3.748 GB, free: 186.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/7.157, allocations: 333.8 kB / 3.748 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/7.157, allocations: 17.09 kB / 3.748 GB, free: 186.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/7.157, allocations: 345.1 kB / 3.749 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/7.159, allocations: 0.6931 MB / 3.749 GB, free: 186.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/7.162, allocations: 0.957 MB / 3.75 GB, free: 186 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/7.164, allocations: 0.7375 MB / 3.751 GB, free: 186 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/7.164, allocations: 0 / 3.751 GB, free: 186 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004875/7.169, allocations: 1.771 MB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/7.169, allocations: 10.27 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/7.169, allocations: 6.625 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/7.169, allocations: 10.28 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/7.17, allocations: 333.3 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/7.171, allocations: 13.97 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/7.173, allocations: 263.6 kB / 3.753 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/7.173, allocations: 54.78 kB / 3.753 GB, free: 185.8 MB / 0.948 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.0008941/7.174, allocations: 345.3 kB / 3.754 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/7.174, allocations: 137.6 kB / 3.754 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/7.179, allocations: 1.833 MB / 3.756 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/7.179, allocations: 11.34 kB / 3.756 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/7.179, allocations: 0 / 3.756 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/7.179, allocations: 7.5 kB / 3.756 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007921/7.187, allocations: 3.43 MB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/7.187, allocations: 3.938 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/7.189, allocations: 293.6 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/7.189, allocations: 11.22 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/7.189, allocations: 30.19 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/7.189, allocations: 16.77 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/7.189, allocations: 3.906 kB / 3.759 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/7.196, allocations: 3.082 MB / 3.762 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/7.197, allocations: 354.9 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/7.198, allocations: 31.98 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/7.2, allocations: 177.6 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/7.2, allocations: 71.09 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/7.2, allocations: 42.22 kB / 3.763 GB, free: 184.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001522/7.201, allocations: 0.8405 MB / 3.764 GB, free: 184.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/7.201, allocations: 0 / 3.764 GB, free: 184.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0023/7.204, allocations: 0.5151 MB / 3.764 GB, free: 184.1 MB / 0.948 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 (101): * Single equations (assignments): 95 * 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.003613/7.207, allocations: 2.031 MB / 3.766 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004593/7.212, allocations: 1.618 MB / 3.768 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/7.212, allocations: 0 / 3.768 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/7.214, allocations: 0.84 MB / 3.769 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/7.218, allocations: 0.5863 MB / 3.769 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/7.225, allocations: 3.446 MB / 3.773 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/7.227, allocations: 1.224 MB / 3.774 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002739/7.23, allocations: 379 kB / 3.774 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/7.23, allocations: 114.3 kB / 3.774 GB, free: 181.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.764e-06/7.23, allocations: 2.844 kB / 3.774 GB, free: 181.5 MB / 0.948 GB Notification: Performance of Templates: time 0.0663/7.297, allocations: 42.99 MB / 3.816 GB, free: 176.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)