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.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.0009755/0.0009756, allocations: 182.5 kB / 372.9 MB, free: 10.17 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.332/1.332, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0007681/0.0007682, allocations: 94.3 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 16.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.309/4.492, allocations: 2.068 GB / 3.049 GB, free: 249.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/4.493, allocations: 87.95 kB / 3.049 GB, free: 249.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.436/6.929, allocations: 0.6798 GB / 3.729 GB, free: 192.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/6.929, allocations: 0 / 3.729 GB, free: 192.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001219/6.929, allocations: 46.53 kB / 3.729 GB, free: 192.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.006308/6.935, allocations: 1.951 MB / 3.731 GB, free: 191.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/6.935, allocations: 9.25 kB / 3.731 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/6.941, allocations: 0.877 MB / 3.731 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/6.944, allocations: 1.158 MB / 3.733 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/6.944, allocations: 73.53 kB / 3.733 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/6.944, allocations: 99.69 kB / 3.733 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/6.948, allocations: 1.541 MB / 3.734 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/6.948, allocations: 3.938 kB / 3.734 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/6.948, allocations: 40.41 kB / 3.734 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/6.948, allocations: 50.22 kB / 3.734 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/6.952, allocations: 1.787 MB / 3.736 GB, free: 191 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.007608/6.96, allocations: 4.807 MB / 3.741 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/6.964, allocations: 1.58 MB / 3.742 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/6.966, allocations: 0.8377 MB / 3.743 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/6.967, allocations: 0.9438 MB / 3.744 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/6.969, allocations: 0.8992 MB / 3.745 GB, free: 188.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.817e-06/6.969, allocations: 0 / 3.745 GB, free: 188.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007249/6.977, allocations: 2.428 MB / 3.747 GB, free: 188 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/6.977, allocations: 62.75 kB / 3.747 GB, free: 188 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/6.978, allocations: 1.212 MB / 3.749 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/6.979, allocations: 49.98 kB / 3.749 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/6.979, allocations: 0.5534 MB / 3.749 GB, free: 187.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/6.979, allocations: 322.6 kB / 3.749 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/6.979, allocations: 20.78 kB / 3.749 GB, free: 187.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/6.979, allocations: 349.4 kB / 3.75 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/6.981, allocations: 0.6931 MB / 3.75 GB, free: 187.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/6.983, allocations: 0.96 MB / 3.751 GB, free: 186.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/6.987, allocations: 1.542 MB / 3.753 GB, free: 186.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/6.987, allocations: 3.656 kB / 3.753 GB, free: 186.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005378/6.993, allocations: 1.77 MB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/6.993, allocations: 7.688 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/6.993, allocations: 7.219 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/6.993, allocations: 7.094 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/6.995, allocations: 338.2 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.852e-05/6.995, allocations: 10.69 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/6.997, allocations: 266.1 kB / 3.755 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/6.997, allocations: 49.06 kB / 3.755 GB, free: 186.6 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.001077/6.999, allocations: 339.7 kB / 3.756 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/6.999, allocations: 139.6 kB / 3.756 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/7.004, allocations: 1.836 MB / 3.758 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/7.004, allocations: 11.78 kB / 3.758 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/7.004, allocations: 0 / 3.758 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/7.004, allocations: 7.828 kB / 3.758 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/7.012, allocations: 3.417 MB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/7.012, allocations: 3.5 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/7.013, allocations: 303.4 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/7.013, allocations: 7.25 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/7.014, allocations: 33.86 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/7.014, allocations: 9.969 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.014, allocations: 2.938 kB / 3.761 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/7.02, allocations: 2.874 MB / 3.764 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/7.022, allocations: 351.9 kB / 3.764 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/7.022, allocations: 28.69 kB / 3.764 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/7.024, allocations: 182.2 kB / 3.765 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/7.024, allocations: 75.05 kB / 3.765 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/7.024, allocations: 40.88 kB / 3.765 GB, free: 185.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001516/7.026, allocations: 0.841 MB / 3.765 GB, free: 185.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.026, allocations: 0 / 3.765 GB, free: 185.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002327/7.028, allocations: 0.5167 MB / 3.766 GB, free: 185.2 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.003916/7.032, allocations: 2.016 MB / 3.768 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004714/7.037, allocations: 1.622 MB / 3.77 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/7.037, allocations: 0 / 3.77 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/7.039, allocations: 0.8403 MB / 3.77 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004366/7.043, allocations: 0.6013 MB / 3.771 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/7.05, allocations: 3.446 MB / 3.774 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/7.051, allocations: 1.194 MB / 3.775 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002042/7.054, allocations: 383 kB / 3.776 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/7.054, allocations: 114.4 kB / 3.776 GB, free: 182.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/7.054, allocations: 0 / 3.776 GB, free: 182.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06971/7.124, allocations: 43.4 MB / 3.818 GB, free: 176.9 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)