Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001182/0.001182, allocations: 191.4 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.4 MB / 0.6367 GB, free: 8.547 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.0008138, allocations: 96.66 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 15.98 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.137, allocations: 2.319 GB / 3.307 GB, free: 225.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/6.137, allocations: 91.02 kB / 3.307 GB, free: 225.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.081/8.218, allocations: 0.601 GB / 3.908 GB, free: 169.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.92e-07/8.218, allocations: 0 / 3.908 GB, free: 169.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001053/8.218, allocations: 40.88 kB / 3.908 GB, free: 169.3 MB / 0.948 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.003184/8.221, allocations: 1.538 MB / 3.91 GB, free: 168.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/8.221, allocations: 13.16 kB / 3.91 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/8.224, allocations: 0.5754 MB / 3.91 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/8.227, allocations: 0.9303 MB / 3.911 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/8.227, allocations: 62.64 kB / 3.911 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/8.227, allocations: 77.81 kB / 3.911 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/8.23, allocations: 1.089 MB / 3.912 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/8.23, allocations: 3.812 kB / 3.912 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/8.23, allocations: 29.42 kB / 3.912 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/8.23, allocations: 22.94 kB / 3.912 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/8.233, allocations: 1.004 MB / 3.913 GB, free: 168.2 MB / 0.948 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.006055/8.239, allocations: 4.973 MB / 3.918 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/8.242, allocations: 0.9592 MB / 3.919 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009898/8.243, allocations: 1.599 MB / 3.921 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/8.244, allocations: 0.5717 MB / 3.921 GB, free: 163.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.296e-06/8.244, allocations: 0 / 3.921 GB, free: 163.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004581/8.249, allocations: 1.507 MB / 3.923 GB, free: 163.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/8.249, allocations: 70.59 kB / 3.923 GB, free: 163.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/8.25, allocations: 0.9906 MB / 3.924 GB, free: 163 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/8.25, allocations: 46.11 kB / 3.924 GB, free: 162.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/8.251, allocations: 0.5492 MB / 3.924 GB, free: 162.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/8.251, allocations: 213.8 kB / 3.924 GB, free: 162.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/8.251, allocations: 18 kB / 3.924 GB, free: 162.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/8.251, allocations: 335.3 kB / 3.925 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/8.252, allocations: 455.5 kB / 3.925 GB, free: 162.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/8.254, allocations: 0.7716 MB / 3.926 GB, free: 162 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/8.255, allocations: 0.4975 MB / 3.926 GB, free: 162 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/8.255, allocations: 3.094 kB / 3.926 GB, free: 162 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003047/8.258, allocations: 1.283 MB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/8.258, allocations: 6.469 kB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/8.258, allocations: 10.67 kB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/8.258, allocations: 16.62 kB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/8.259, allocations: 278.5 kB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/8.259, allocations: 19.59 kB / 3.928 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/8.261, allocations: 215.4 kB / 3.928 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/8.261, allocations: 51.17 kB / 3.928 GB, free: 161.8 MB / 0.948 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.0005177/8.261, allocations: 295.7 kB / 3.929 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/8.261, allocations: 122.6 kB / 3.929 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/8.265, allocations: 1.424 MB / 3.93 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/8.265, allocations: 20.36 kB / 3.93 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/8.265, allocations: 0 / 3.93 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/8.265, allocations: 6.906 kB / 3.93 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/8.269, allocations: 2.476 MB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/8.269, allocations: 8.484 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/8.27, allocations: 201.8 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/8.27, allocations: 2.875 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/8.271, allocations: 28.36 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/8.271, allocations: 9.375 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/8.271, allocations: 4.062 kB / 3.933 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/8.276, allocations: 2.12 MB / 3.935 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/8.277, allocations: 311.7 kB / 3.935 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/8.277, allocations: 20.77 kB / 3.935 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/8.278, allocations: 134.6 kB / 3.935 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/8.278, allocations: 53.64 kB / 3.935 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/8.279, allocations: 40.19 kB / 3.935 GB, free: 160.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001016/8.28, allocations: 0.7711 MB / 3.936 GB, free: 160.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/8.28, allocations: 0 / 3.936 GB, free: 160.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001379/8.281, allocations: 388.9 kB / 3.937 GB, free: 160.5 MB / 0.948 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 (76): * Single equations (assignments): 61 * 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.001785/8.283, allocations: 0.8127 MB / 3.937 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002903/8.286, allocations: 1.139 MB / 3.938 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/8.286, allocations: 3.25 kB / 3.938 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/8.287, allocations: 0.5966 MB / 3.939 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/8.289, allocations: 445.1 kB / 3.939 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/8.295, allocations: 2.759 MB / 3.942 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/8.296, allocations: 1.136 MB / 3.943 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001945/8.298, allocations: 262.9 kB / 3.943 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/8.299, allocations: 110.2 kB / 3.944 GB, free: 158.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/8.299, allocations: 0 / 3.944 GB, free: 158.5 MB / 0.948 GB Notification: Performance of Templates: time 0.0506/8.349, allocations: 21.43 MB / 3.965 GB, free: 157.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)