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.001512/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001722/0.001722, allocations: 187.8 kB / 16.25 MB, free: 6.617 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.451/1.451, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.696/1.696, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001323/0.001323, allocations: 65.27 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.228, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7522/0.9802, allocations: 191.3 MB / 0.9697 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009849/0.9901, allocations: 4.988 MB / 0.9746 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.9927, allocations: 44.16 kB / 0.9746 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.996, allocations: 0.7357 MB / 0.9753 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00898/1.005, allocations: 2.417 MB / 0.9777 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/1.008, allocations: 1.023 MB / 0.9787 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004801/1.013, allocations: 2.669 MB / 0.9813 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.015, allocations: 0.9323 MB / 0.9822 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/1.018, allocations: 1.146 MB / 0.9833 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/1.021, allocations: 1.055 MB / 0.9843 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005186/1.021, allocations: 87.81 kB / 0.9844 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00501/1.026, allocations: 1.863 MB / 0.9862 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009174/1.027, allocations: 454.7 kB / 0.9867 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/1.029, allocations: 0.6709 MB / 0.9873 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005809/1.035, allocations: 2.333 MB / 0.9896 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.035, allocations: 0 / 0.9896 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/1.035, allocations: 0 / 0.9896 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.576e-05/1.035, allocations: 0 / 0.9896 GB, free: 4.258 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.007322/1.042, allocations: 1.983 MB / 0.9916 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.043, allocations: 9.125 kB / 0.9916 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/1.048, allocations: 0.8987 MB / 0.9924 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/1.051, allocations: 0.9221 MB / 0.9933 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.051, allocations: 70.23 kB / 0.9934 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/1.052, allocations: 97.27 kB / 0.9935 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/1.056, allocations: 1.58 MB / 0.995 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/1.056, allocations: 2.625 kB / 0.995 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/1.057, allocations: 38.42 kB / 0.9951 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/1.057, allocations: 48.61 kB / 0.9951 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/1.062, allocations: 1.844 MB / 0.9969 GB, free: 17.85 MB / 0.7481 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.008912/1.071, allocations: 4.757 MB / 1.002 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/1.075, allocations: 1.553 MB / 1.003 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/1.078, allocations: 0.8516 MB / 1.004 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/1.079, allocations: 0.9403 MB / 1.005 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/1.082, allocations: 0.9267 MB / 1.006 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.587e-06/1.082, allocations: 0 / 1.006 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007986/1.09, allocations: 2.449 MB / 1.008 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.09, allocations: 60.84 kB / 1.008 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/1.092, allocations: 1.21 MB / 1.009 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/1.092, allocations: 47.2 kB / 1.009 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/1.093, allocations: 0.5434 MB / 1.01 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/1.093, allocations: 338.3 kB / 1.01 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/1.093, allocations: 193.8 kB / 1.01 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.093, allocations: 344.5 kB / 1.011 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/1.096, allocations: 0.7026 MB / 1.011 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/1.098, allocations: 0.9262 MB / 1.012 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/1.103, allocations: 1.556 MB / 1.014 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.103, allocations: 0 / 1.014 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005309/1.108, allocations: 1.783 MB / 1.016 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.108, allocations: 11.98 kB / 1.016 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.108, allocations: 8.25 kB / 1.016 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.108, allocations: 7.188 kB / 1.016 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.11, allocations: 339.9 kB / 1.016 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/1.11, allocations: 8.438 kB / 1.016 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.112, allocations: 263.7 kB / 1.016 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.112, allocations: 47.84 kB / 1.016 GB, free: 6.891 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.000809/1.113, allocations: 331.8 kB / 1.017 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/1.113, allocations: 142.6 kB / 1.017 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/1.119, allocations: 1.799 MB / 1.019 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.119, allocations: 10.09 kB / 1.019 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.119, allocations: 0 / 1.019 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.119, allocations: 3.984 kB / 1.019 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008088/1.127, allocations: 3.333 MB / 1.022 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.127, allocations: 6.406 kB / 1.022 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.129, allocations: 297.6 kB / 1.022 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/1.129, allocations: 8.5 kB / 1.022 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.129, allocations: 35.62 kB / 1.022 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/1.129, allocations: 13.89 kB / 1.022 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.129, allocations: 5.344 kB / 1.022 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/1.137, allocations: 2.845 MB / 1.025 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/1.138, allocations: 319.9 kB / 1.025 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/1.138, allocations: 22.44 kB / 1.025 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.14, allocations: 180 kB / 1.025 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.14, allocations: 72.33 kB / 1.025 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.14, allocations: 36.41 kB / 1.026 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001484/1.142, allocations: 0.8399 MB / 1.026 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.142, allocations: 4 kB / 1.026 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001522/1.143, allocations: 337.7 kB / 1.027 GB, free: 1.02 MB / 0.7481 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.001421/1.145, allocations: 0.5436 MB / 1.027 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005855/1.151, allocations: 1.772 MB / 1.029 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.151, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.153, allocations: 0.8451 MB / 1.03 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.157, allocations: 0.6412 MB / 1.03 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/1.165, allocations: 3.416 MB / 1.034 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.166, allocations: 1.183 MB / 1.035 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00236/1.168, allocations: 362.2 kB / 1.035 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/1.169, allocations: 119.4 kB / 1.035 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of SimCode: time 1.362e-06/1.169, allocations: 0 / 1.035 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of Templates: time 0.04451/1.214, allocations: 24.05 MB / 1.059 GB, free: 1.598 MB / 0.7794 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)