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.001072/0.001072, allocations: 100 kB / 15.05 MB, free: 1.105 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.001194/0.001194, allocations: 177.3 kB / 15.94 MB, free: 228 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.76/1.76, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005518/0.000552, allocations: 21 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2896, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7633/1.053, allocations: 160.8 MB / 0.9441 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01077/1.064, allocations: 4.912 MB / 0.9489 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/1.066, allocations: 40.56 kB / 0.9489 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00279/1.069, allocations: 0.7782 MB / 0.9497 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00791/1.077, allocations: 1.755 MB / 0.9514 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/1.081, allocations: 1.186 MB / 0.9526 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00543/1.087, allocations: 1.67 MB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/1.089, allocations: 0.7972 MB / 0.955 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.092, allocations: 0.9786 MB / 0.9559 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/1.093, allocations: 0.7154 MB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/1.094, allocations: 48.81 kB / 0.9567 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/1.097, allocations: 0.94 MB / 0.9576 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005086/1.097, allocations: 385.7 kB / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009006/1.098, allocations: 268.8 kB / 0.9582 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/1.101, allocations: 1.335 MB / 0.9595 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/1.101, allocations: 0 / 0.9595 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.347e-06/1.101, allocations: 1.156 kB / 0.9595 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.304e-05/1.101, allocations: 0 / 0.9595 GB, free: 21.07 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.005429/1.107, allocations: 1.723 MB / 0.9612 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.107, allocations: 12.75 kB / 0.9612 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/1.112, allocations: 0.928 MB / 0.9621 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/1.114, allocations: 0.8644 MB / 0.963 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/1.114, allocations: 70.83 kB / 0.9631 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/1.115, allocations: 94.34 kB / 0.9631 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/1.118, allocations: 1.569 MB / 0.9647 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.118, allocations: 1.281 kB / 0.9647 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.118, allocations: 39.2 kB / 0.9647 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/1.118, allocations: 51.12 kB / 0.9648 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004987/1.123, allocations: 1.838 MB / 0.9666 GB, free: 19.52 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.007154/1.131, allocations: 4.288 MB / 0.9707 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/1.135, allocations: 1.595 MB / 0.9723 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/1.135, allocations: 172.7 kB / 0.9725 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/1.138, allocations: 0.9029 MB / 0.9733 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/1.138, allocations: 0 / 0.9733 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.00731/1.145, allocations: 2.425 MB / 0.9757 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.145, allocations: 67.14 kB / 0.9758 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.147, allocations: 1.204 MB / 0.977 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.147, allocations: 45.27 kB / 0.977 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.147, allocations: 0.552 MB / 0.9775 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/1.147, allocations: 327.9 kB / 0.9779 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/1.148, allocations: 19.47 kB / 0.9779 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.148, allocations: 343.8 kB / 0.9782 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/1.15, allocations: 0.6864 MB / 0.9789 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/1.152, allocations: 0.9159 MB / 0.9798 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/1.154, allocations: 0.7242 MB / 0.9805 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.154, allocations: 2.906 kB / 0.9805 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00471/1.158, allocations: 1.75 MB / 0.9822 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.159, allocations: 6.188 kB / 0.9822 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.159, allocations: 5.188 kB / 0.9822 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.159, allocations: 13.28 kB / 0.9822 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.16, allocations: 338.4 kB / 0.9825 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.16, allocations: 13.59 kB / 0.9825 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.162, allocations: 257.6 kB / 0.9828 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.163, allocations: 53.47 kB / 0.9828 GB, free: 13.73 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.00077/1.163, allocations: 341 kB / 0.9832 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.163, allocations: 129.8 kB / 0.9833 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/1.168, allocations: 1.791 MB / 0.985 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.168, allocations: 12.77 kB / 0.985 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.168, allocations: 0 / 0.985 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.168, allocations: 6.109 kB / 0.9851 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/1.176, allocations: 3.299 MB / 0.9883 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.176, allocations: 9.781 kB / 0.9883 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/1.177, allocations: 289.5 kB / 0.9886 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.177, allocations: 8.094 kB / 0.9886 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.178, allocations: 31.94 kB / 0.9886 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/1.178, allocations: 18.56 kB / 0.9886 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/1.178, allocations: 15.3 kB / 0.9886 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/1.185, allocations: 3.011 MB / 0.9916 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/1.186, allocations: 326.8 kB / 0.9919 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/1.186, allocations: 28.33 kB / 0.9919 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.188, allocations: 173.6 kB / 0.9921 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.188, allocations: 66.28 kB / 0.9921 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.188, allocations: 46.06 kB / 0.9922 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00116/1.189, allocations: 0.8266 MB / 0.993 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.189, allocations: 0 / 0.993 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001366/1.191, allocations: 348.2 kB / 0.9933 GB, free: 9.934 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.001364/1.192, allocations: 0.5306 MB / 0.9938 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004654/1.197, allocations: 1.603 MB / 0.9954 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.197, allocations: 0 / 0.9954 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.199, allocations: 0.8249 MB / 0.9962 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.202, allocations: 0.5944 MB / 0.9968 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/1.21, allocations: 3.393 MB / 1 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/1.211, allocations: 1.219 MB / 1.001 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001939/1.213, allocations: 365.2 kB / 1.002 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/1.213, allocations: 118.6 kB / 1.002 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of SimCode: time 1.453e-06/1.213, allocations: 0 / 1.002 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.04044/1.254, allocations: 22.36 MB / 1.024 GB, free: 1.078 MB / 0.7481 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: