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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.805 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.644/1.644, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001886/0.001886, allocations: 62.95 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2535, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6417/0.8953, allocations: 191.6 MB / 0.9697 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009181/0.9045, allocations: 5.056 MB / 0.9747 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.9066, allocations: 45.5 kB / 0.9747 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.9088, allocations: 0.7124 MB / 0.9754 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007503/0.9164, allocations: 2.424 MB / 0.9778 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.9196, allocations: 1.022 MB / 0.9788 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.9249, allocations: 3.588 MB / 0.9823 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.9267, allocations: 0.841 MB / 0.9831 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.9294, allocations: 1.027 MB / 0.9841 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.9311, allocations: 1.032 MB / 0.9851 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.9313, allocations: 56.12 kB / 0.9852 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.9384, allocations: 2.075 MB / 0.9872 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.9396, allocations: 433.5 kB / 0.9876 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.9413, allocations: 0.6449 MB / 0.9882 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007042/0.9483, allocations: 2.284 MB / 0.9905 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9484, allocations: 0 / 0.9905 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.476e-06/0.9484, allocations: 0 / 0.9905 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.768e-05/0.9484, allocations: 0 / 0.9905 GB, free: 3.961 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.008968/0.9574, allocations: 1.976 MB / 0.9924 GB, free: 19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.9575, allocations: 10.81 kB / 0.9924 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.9678, allocations: 0.8936 MB / 0.9933 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.9713, allocations: 0.9256 MB / 0.9942 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.9715, allocations: 69.16 kB / 0.9943 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.972, allocations: 92.75 kB / 0.9943 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007756/0.9798, allocations: 1.583 MB / 0.9959 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.9799, allocations: 2.531 kB / 0.9959 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.9802, allocations: 35.06 kB / 0.9959 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/0.9803, allocations: 47.28 kB / 0.996 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009842/0.9902, allocations: 1.845 MB / 0.9978 GB, free: 17.59 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.01463/1.005, allocations: 4.756 MB / 1.002 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008645/1.014, allocations: 1.559 MB / 1.004 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004923/1.019, allocations: 0.8561 MB / 1.005 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/1.021, allocations: 0.9419 MB / 1.006 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005078/1.026, allocations: 0.9184 MB / 1.007 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 7.214e-06/1.026, allocations: 0 / 1.007 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.01493/1.041, allocations: 2.454 MB / 1.009 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.041, allocations: 65.34 kB / 1.009 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/1.045, allocations: 1.209 MB / 1.01 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.045, allocations: 47.92 kB / 1.01 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008055/1.046, allocations: 0.5435 MB / 1.011 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/1.046, allocations: 323.2 kB / 1.011 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007074/1.047, allocations: 195.4 kB / 1.011 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.047, allocations: 342.4 kB / 1.012 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/1.052, allocations: 0.7046 MB / 1.012 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.056, allocations: 0.93 MB / 1.013 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008665/1.065, allocations: 1.552 MB / 1.015 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.065, allocations: 0 / 1.015 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008834/1.074, allocations: 1.785 MB / 1.016 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/1.074, allocations: 12.61 kB / 1.016 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.074, allocations: 4.281 kB / 1.016 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/1.074, allocations: 12.88 kB / 1.017 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.076, allocations: 343.1 kB / 1.017 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-05/1.076, allocations: 6.875 kB / 1.017 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.078, allocations: 261.9 kB / 1.017 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.079, allocations: 50.69 kB / 1.017 GB, free: 5.656 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.0008741/1.079, allocations: 327.6 kB / 1.017 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/1.08, allocations: 146.7 kB / 1.018 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/1.085, allocations: 1.802 MB / 1.019 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.085, allocations: 8.438 kB / 1.019 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.085, allocations: 1.906 kB / 1.019 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.085, allocations: 3.984 kB / 1.019 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/1.093, allocations: 3.331 MB / 1.023 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.093, allocations: 7.781 kB / 1.023 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.095, allocations: 290.8 kB / 1.023 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/1.095, allocations: 4.875 kB / 1.023 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.095, allocations: 35.22 kB / 1.023 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/1.095, allocations: 11.55 kB / 1.023 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.095, allocations: 11.47 kB / 1.023 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/1.103, allocations: 2.84 MB / 1.026 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/1.103, allocations: 319.2 kB / 1.026 GB, free: 444 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.104, allocations: 35.09 kB / 1.026 GB, free: 420 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.106, allocations: 180.4 kB / 1.026 GB, free: 332 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.106, allocations: 71.52 kB / 1.026 GB, free: 296 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.106, allocations: 41.5 kB / 1.026 GB, free: 280 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001479/1.107, allocations: 0.8369 MB / 1.027 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.107, allocations: 0.9375 kB / 1.027 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00151/1.109, allocations: 339.5 kB / 1.027 GB, free: 15.79 MB / 0.7637 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.001425/1.11, allocations: 0.5314 MB / 1.028 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004896/1.115, allocations: 1.618 MB / 1.03 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/1.115, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.118, allocations: 0.8496 MB / 1.03 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/1.121, allocations: 0.5961 MB / 1.031 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/1.129, allocations: 3.416 MB / 1.034 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.13, allocations: 1.191 MB / 1.036 GB, free: 7.816 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002197/1.132, allocations: 370.2 kB / 1.036 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/1.133, allocations: 115.4 kB / 1.036 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of SimCode: time 2.715e-06/1.133, allocations: 0 / 1.036 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of Templates: time 0.04168/1.174, allocations: 23.2 MB / 1.059 GB, free: 0.5195 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)