Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001102/0.001102, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.516/1.516, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008602/0.0008601, allocations: 96.12 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.807e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6794, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.782, allocations: 404.6 MB / 1.368 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.782, allocations: 90.83 kB / 1.368 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/3.365, allocations: 475.4 MB / 1.833 GB, free: 158.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/3.365, allocations: 0 / 1.833 GB, free: 158.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001525/3.365, allocations: 43.33 kB / 1.833 GB, free: 158.5 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002719/3.368, allocations: 1.512 MB / 1.834 GB, free: 157 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/3.368, allocations: 11.97 kB / 1.834 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/3.369, allocations: 241.8 kB / 1.834 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/3.372, allocations: 1.934 MB / 1.836 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/3.372, allocations: 24 kB / 1.836 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/3.372, allocations: 55.98 kB / 1.836 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009557/3.373, allocations: 0.617 MB / 1.837 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/3.374, allocations: 0.8085 MB / 1.838 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/3.374, allocations: 4 kB / 1.838 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/3.374, allocations: 4 kB / 1.838 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/3.374, allocations: 23.95 kB / 1.838 GB, free: 153.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004655/3.379, allocations: 4.439 MB / 1.842 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/3.38, allocations: 0.5663 MB / 1.843 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/3.38, allocations: 298 kB / 1.843 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002187/3.382, allocations: 1.679 MB / 1.845 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/3.383, allocations: 294.3 kB / 1.845 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003818/3.383, allocations: 95.45 kB / 1.845 GB, free: 145.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 3.176e-06/3.383, allocations: 0 / 1.845 GB, free: 145.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001517/3.385, allocations: 0.7099 MB / 1.846 GB, free: 144.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/3.385, allocations: 58.84 kB / 1.846 GB, free: 144.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/3.386, allocations: 0.9911 MB / 1.847 GB, free: 143.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/3.386, allocations: 25.7 kB / 1.847 GB, free: 143.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/3.386, allocations: 0.6447 MB / 1.847 GB, free: 143 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/3.386, allocations: 153.8 kB / 1.848 GB, free: 142.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/3.386, allocations: 0 / 1.848 GB, free: 142.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/3.386, allocations: 338 kB / 1.848 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/3.387, allocations: 209.4 kB / 1.848 GB, free: 142.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/3.387, allocations: 0.536 MB / 1.849 GB, free: 141.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/3.388, allocations: 342.6 kB / 1.849 GB, free: 141.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/3.388, allocations: 0 / 1.849 GB, free: 141.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001602/3.39, allocations: 0.9345 MB / 1.85 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006223/3.39, allocations: 3.034 MB / 1.853 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/3.39, allocations: 8 kB / 1.853 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/3.39, allocations: 128.6 kB / 1.853 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/3.391, allocations: 151.8 kB / 1.853 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/3.392, allocations: 0.7902 MB / 1.854 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/3.392, allocations: 63.78 kB / 1.854 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/3.393, allocations: 48.05 kB / 1.854 GB, free: 135.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/3.393, allocations: 4 kB / 1.854 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/3.394, allocations: 0.7785 MB / 1.855 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/3.394, allocations: 8 kB / 1.855 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/3.394, allocations: 113.1 kB / 1.855 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/3.395, allocations: 139.8 kB / 1.855 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/3.396, allocations: 2.102 MB / 1.857 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/3.397, allocations: 59.86 kB / 1.857 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/3.397, allocations: 43.98 kB / 1.857 GB, free: 132.5 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: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/3.397, allocations: 138.3 kB / 1.857 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/3.397, allocations: 118.5 kB / 1.857 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/3.399, allocations: 0.8064 MB / 1.858 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/3.399, allocations: 4 kB / 1.858 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/3.399, allocations: 0 / 1.858 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008942/3.4, allocations: 0.8194 MB / 1.859 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/3.402, allocations: 1.683 MB / 1.861 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/3.402, allocations: 0 / 1.861 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/3.403, allocations: 87.88 kB / 1.861 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/3.403, allocations: 92.81 kB / 1.861 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/3.403, allocations: 12.05 kB / 1.861 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/3.403, allocations: 0.7444 MB / 1.861 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/3.403, allocations: 0 / 1.861 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/3.405, allocations: 1.117 MB / 1.863 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/3.405, allocations: 263.4 kB / 1.863 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/3.405, allocations: 12.02 kB / 1.863 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/3.406, allocations: 63.77 kB / 1.863 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/3.406, allocations: 40.33 kB / 1.863 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/3.406, allocations: 27.97 kB / 1.863 GB, free: 126.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008059/3.407, allocations: 0.7592 MB / 1.864 GB, free: 125.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/3.407, allocations: 0 / 1.864 GB, free: 125.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002077/3.409, allocations: 0.69 MB / 1.864 GB, free: 124.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/3.41, allocations: 0.7314 MB / 1.865 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001753/3.412, allocations: 1.208 MB / 1.866 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/3.412, allocations: 0 / 1.866 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/3.412, allocations: 294.7 kB / 1.867 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/3.414, allocations: 0.5065 MB / 1.867 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/3.417, allocations: 1.666 MB / 1.869 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/3.417, allocations: 1.293 MB / 1.87 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001743/3.419, allocations: 0.56 MB / 1.87 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/3.419, allocations: 79.41 kB / 1.871 GB, free: 118.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/3.419, allocations: 3.938 kB / 1.871 GB, free: 118.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04126/3.461, allocations: 25.74 MB / 1.896 GB, free: 92.98 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)