Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.5 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 0.5783 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007397/0.0007396, allocations: 91.98 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 9.344 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 106.3 MB / 0.9008 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7387/0.9495, allocations: 176.6 MB / 1.073 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009982/0.9595, allocations: 4.897 MB / 1.078 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.9615, allocations: 44.16 kB / 1.078 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.9638, allocations: 0.6207 MB / 1.079 GB, free: 4.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009249/0.9731, allocations: 1.861 MB / 1.081 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.977, allocations: 0.9236 MB / 1.081 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00544/0.9825, allocations: 3.048 MB / 1.084 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.9841, allocations: 0.7612 MB / 1.085 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.9866, allocations: 1.006 MB / 1.086 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.9881, allocations: 0.9511 MB / 1.087 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.9883, allocations: 47.94 kB / 1.087 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.9912, allocations: 0.9372 MB / 1.088 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.9917, allocations: 408.3 kB / 1.088 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.9925, allocations: 276 kB / 1.089 GB, free: 19.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.9944, allocations: 1.39 MB / 1.09 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9945, allocations: 0 / 1.09 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9945, allocations: 3.938 kB / 1.09 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.9945, allocations: 1.25 kB / 1.09 GB, free: 19.64 MB / 0.7136 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.005092/0.9996, allocations: 1.727 MB / 1.092 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9997, allocations: 9.656 kB / 1.092 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/1.006, allocations: 0.9312 MB / 1.093 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.008, allocations: 0.8772 MB / 1.094 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/1.008, allocations: 72.73 kB / 1.094 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/1.008, allocations: 96.75 kB / 1.094 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/1.012, allocations: 1.572 MB / 1.095 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.012, allocations: 5.906 kB / 1.095 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.012, allocations: 33.34 kB / 1.095 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/1.012, allocations: 47.09 kB / 1.095 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/1.017, allocations: 1.834 MB / 1.097 GB, free: 18.09 MB / 0.7136 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.00852/1.025, allocations: 4.781 MB / 1.102 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/1.03, allocations: 1.579 MB / 1.103 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/1.032, allocations: 0.8496 MB / 1.104 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/1.034, allocations: 0.9559 MB / 1.105 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/1.036, allocations: 0.9064 MB / 1.106 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 5.4e-06/1.036, allocations: 2.844 kB / 1.106 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.008098/1.044, allocations: 2.437 MB / 1.108 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/1.044, allocations: 64.67 kB / 1.108 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/1.046, allocations: 1.197 MB / 1.11 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.046, allocations: 47.64 kB / 1.11 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/1.047, allocations: 0.5475 MB / 1.11 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.047, allocations: 330.6 kB / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/1.047, allocations: 21.38 kB / 1.11 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.047, allocations: 351.1 kB / 1.111 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/1.05, allocations: 0.6857 MB / 1.112 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/1.052, allocations: 0.923 MB / 1.112 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/1.054, allocations: 0.7336 MB / 1.113 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.054, allocations: 0 / 1.113 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004917/1.059, allocations: 1.764 MB / 1.115 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.059, allocations: 6.25 kB / 1.115 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.059, allocations: 3.656 kB / 1.115 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.059, allocations: 11.59 kB / 1.115 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.061, allocations: 339 kB / 1.115 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.061, allocations: 10.48 kB / 1.115 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.063, allocations: 262.2 kB / 1.115 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.063, allocations: 45.62 kB / 1.115 GB, free: 13.44 MB / 0.7136 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.0008807/1.064, allocations: 342.7 kB / 1.116 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.064, allocations: 139.8 kB / 1.116 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/1.07, allocations: 1.796 MB / 1.118 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.07, allocations: 12.42 kB / 1.118 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.07, allocations: 0.9375 kB / 1.118 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.07, allocations: 7.609 kB / 1.118 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008396/1.079, allocations: 3.329 MB / 1.121 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.079, allocations: 2.938 kB / 1.121 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.08, allocations: 291.6 kB / 1.121 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/1.08, allocations: 8.562 kB / 1.121 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.081, allocations: 32.62 kB / 1.121 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/1.081, allocations: 10.48 kB / 1.121 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.081, allocations: 5.812 kB / 1.121 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/1.088, allocations: 2.83 MB / 1.124 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.09, allocations: 330 kB / 1.124 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.09, allocations: 31.08 kB / 1.124 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.092, allocations: 175.1 kB / 1.125 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.092, allocations: 71.97 kB / 1.125 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.092, allocations: 37.28 kB / 1.125 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00169/1.094, allocations: 0.8337 MB / 1.126 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/1.094, allocations: 0 / 1.126 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001722/1.096, allocations: 342.2 kB / 1.126 GB, free: 10.41 MB / 0.7136 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 (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.00148/1.097, allocations: 0.5343 MB / 1.126 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005029/1.102, allocations: 1.616 MB / 1.128 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.102, allocations: 3.312 kB / 1.128 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.105, allocations: 0.832 MB / 1.129 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/1.109, allocations: 0.6082 MB / 1.129 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00831/1.118, allocations: 3.456 MB / 1.133 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.119, allocations: 1.19 MB / 1.134 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007933/1.12, allocations: 134.2 kB / 1.134 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/1.12, allocations: 0 / 1.134 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of Templates: time 0.03872/1.158, allocations: 21.68 MB / 1.155 GB, free: 6.016 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)