Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001365/0.001365, allocations: 178.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.0009084/0.0009082, allocations: 93.23 kB / 0.743 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004937, allocations: 13.47 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.213, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03543/0.2485, allocations: 26.93 MB / 1.005 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.2632, allocations: 6.361 MB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.265, allocations: 39.69 kB / 1.011 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.2674, allocations: 0.5519 MB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.2725, allocations: 1.171 MB / 1.013 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.2777, allocations: 0.9427 MB / 1.014 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005696/0.2834, allocations: 2.754 MB / 1.016 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.2856, allocations: 0.6546 MB / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.2888, allocations: 0.8945 MB / 1.018 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.291, allocations: 0.7585 MB / 1.018 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.2916, allocations: 36 kB / 1.018 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.2943, allocations: 498.9 kB / 1.019 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2954, allocations: 247 kB / 1.019 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006926/0.2961, allocations: 233 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.2989, allocations: 1.04 MB / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.299, allocations: 0 / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/0.299, allocations: 0 / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.486e-05/0.2991, allocations: 0 / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.006217/0.3053, allocations: 1.38 MB / 1.022 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3054, allocations: 8.031 kB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009604/0.315, allocations: 0.6383 MB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3186, allocations: 0.7742 MB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.3188, allocations: 54 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.3193, allocations: 79.98 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007027/0.3263, allocations: 1.096 MB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/0.3264, allocations: 11.88 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.3267, allocations: 36 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.3267, allocations: 19.98 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009362/0.3361, allocations: 1.024 MB / 1.025 GB, free: 11.85 MB / 0.6511 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.01553/0.3517, allocations: 4.963 MB / 1.03 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/0.3601, allocations: 0.9565 MB / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.3648, allocations: 0.4958 MB / 1.032 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003556/0.3684, allocations: 1.599 MB / 1.033 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003137/0.3716, allocations: 0.5845 MB / 1.034 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.79e-06/0.3717, allocations: 4 kB / 1.034 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.008984/0.3807, allocations: 1.516 MB / 1.035 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3808, allocations: 59.97 kB / 1.035 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.383, allocations: 1.117 MB / 1.036 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.3833, allocations: 45.7 kB / 1.036 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.384, allocations: 0.5512 MB / 1.037 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.3844, allocations: 221 kB / 1.037 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.3845, allocations: 12 kB / 1.037 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3847, allocations: 334 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/0.3874, allocations: 465.6 kB / 1.038 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/0.3906, allocations: 0.7358 MB / 1.039 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.3935, allocations: 0.4939 MB / 1.039 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.3936, allocations: 0 / 1.039 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006786/0.4004, allocations: 1.29 MB / 1.04 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.4005, allocations: 13.2 kB / 1.04 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.4005, allocations: 12.12 kB / 1.041 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.4006, allocations: 12 kB / 1.041 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.403, allocations: 271.6 kB / 1.041 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/0.4031, allocations: 15.94 kB / 1.041 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.4055, allocations: 207 kB / 1.041 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.4058, allocations: 51.97 kB / 1.041 GB, free: 11.02 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0007413/0.4065, allocations: 291.7 kB / 1.041 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.4069, allocations: 122.5 kB / 1.041 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006994/0.4139, allocations: 1.39 MB / 1.043 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.414, allocations: 11.98 kB / 1.043 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.414, allocations: 7.938 kB / 1.043 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.414, allocations: 3.984 kB / 1.043 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009211/0.4233, allocations: 2.39 MB / 1.045 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4233, allocations: 4 kB / 1.045 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.4253, allocations: 188 kB / 1.045 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.4254, allocations: 4 kB / 1.045 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.4256, allocations: 31.97 kB / 1.045 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.4256, allocations: 7.938 kB / 1.045 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4256, allocations: 3.984 kB / 1.045 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009576/0.4352, allocations: 2.001 MB / 1.047 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/0.4361, allocations: 291.3 kB / 1.048 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.4363, allocations: 16 kB / 1.048 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.4382, allocations: 131.8 kB / 1.048 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.4384, allocations: 52.45 kB / 1.048 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.4386, allocations: 31.97 kB / 1.048 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001554/0.4402, allocations: 0.7603 MB / 1.049 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.032e-06/0.4402, allocations: 0 / 1.049 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001682/0.4419, allocations: 347.5 kB / 1.049 GB, free: 2.805 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002069/0.444, allocations: 0.6444 MB / 1.05 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006203/0.4502, allocations: 1.126 MB / 1.051 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.4503, allocations: 0 / 1.051 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.4534, allocations: 0.5892 MB / 1.051 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/0.4575, allocations: 451.5 kB / 1.052 GB, free: 168 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009109/0.4666, allocations: 2.715 MB / 1.054 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.4677, allocations: 1.112 MB / 1.055 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001889/0.4696, allocations: 256.8 kB / 1.056 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.4702, allocations: 103.4 kB / 1.056 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.4702, allocations: 0 / 1.056 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.6746/1.145, allocations: 18.88 MB / 1.074 GB, free: 85.68 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)