Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 293 MB / 309 MB, free: 4.844 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.001287/0.001287, allocations: 168.2 kB / 378.7 MB, free: 1.047 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.772/1.772, allocations: 205.4 MB / 0.6383 GB, free: 9.191 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.001166/0.001165, allocations: 95.88 kB / 0.7527 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004396, allocations: 23.98 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 116.4 MB / 0.9904 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.573/1.854, allocations: 405.5 MB / 1.386 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.855, allocations: 99.17 kB / 1.387 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.888/3.743, allocations: 0.6842 GB / 2.071 GB, free: 3.473 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.544e-06/3.743, allocations: 0 / 2.071 GB, free: 3.473 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003602/3.743, allocations: 51.97 kB / 2.071 GB, free: 3.422 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007604/3.751, allocations: 2.416 MB / 2.073 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/3.751, allocations: 8.031 kB / 2.073 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/3.753, allocations: 286.2 kB / 2.073 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/3.761, allocations: 2.545 MB / 2.076 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/3.761, allocations: 78.38 kB / 2.076 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/3.762, allocations: 108.4 kB / 2.076 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/3.766, allocations: 1.256 MB / 2.077 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/3.766, allocations: 7.938 kB / 2.077 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/3.766, allocations: 44 kB / 2.077 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/3.766, allocations: 24 kB / 2.077 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/3.769, allocations: 0.9523 MB / 2.078 GB, free: 11.52 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.01235/3.781, allocations: 6.644 MB / 2.085 GB, free: 4.406 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/3.782, allocations: 0.6038 MB / 2.085 GB, free: 3.789 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/3.783, allocations: 403.7 kB / 2.086 GB, free: 3.395 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003631/3.787, allocations: 1.601 MB / 2.087 GB, free: 1.672 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/3.788, allocations: 369.1 kB / 2.088 GB, free: 1.301 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/3.789, allocations: 147.2 kB / 2.088 GB, free: 1.156 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 7.364e-06/3.789, allocations: 4 kB / 2.088 GB, free: 1.152 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.6212/4.41, allocations: 1.297 MB / 2.089 GB, free: 188.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/4.41, allocations: 61.97 kB / 2.089 GB, free: 188.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/4.413, allocations: 1.749 MB / 2.091 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/4.413, allocations: 43.97 kB / 2.091 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000766/4.414, allocations: 0.8486 MB / 2.092 GB, free: 188.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/4.414, allocations: 165.8 kB / 2.092 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/4.414, allocations: 15.69 kB / 2.092 GB, free: 188.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/4.414, allocations: 341.4 kB / 2.092 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/4.415, allocations: 288.1 kB / 2.093 GB, free: 188.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/4.416, allocations: 0.7226 MB / 2.093 GB, free: 187.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/4.417, allocations: 0.9368 MB / 2.094 GB, free: 187.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/4.417, allocations: 2.906 kB / 2.094 GB, free: 187.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002551/4.42, allocations: 1.239 MB / 2.095 GB, free: 187.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/4.42, allocations: 426.5 kB / 2.096 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/4.42, allocations: 8.844 kB / 2.096 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/4.421, allocations: 178.1 kB / 2.096 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/4.421, allocations: 168.5 kB / 2.096 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005969/4.422, allocations: 0.7577 MB / 2.097 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/4.423, allocations: 102 kB / 2.097 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.423, allocations: 47 kB / 2.097 GB, free: 186.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/4.423, allocations: 10.2 kB / 2.097 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/4.425, allocations: 1.069 MB / 2.098 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/4.425, allocations: 10.97 kB / 2.098 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/4.425, allocations: 127.5 kB / 2.098 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/4.426, allocations: 157.9 kB / 2.098 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/4.428, allocations: 2.121 MB / 2.1 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/4.429, allocations: 98.09 kB / 2.1 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/4.429, allocations: 45.02 kB / 2.101 GB, free: 184.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001199/4.431, allocations: 0.5869 MB / 2.101 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/4.431, allocations: 177.6 kB / 2.101 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/4.433, allocations: 0.9939 MB / 2.102 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/4.433, allocations: 10.69 kB / 2.102 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/4.433, allocations: 0.8125 kB / 2.102 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/4.435, allocations: 0.9543 MB / 2.103 GB, free: 183.9 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 postOpt removeSimpleEquations (simulation): time 0.004411/4.439, allocations: 2.172 MB / 2.105 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/4.439, allocations: 4.766 kB / 2.105 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/4.44, allocations: 90.53 kB / 2.105 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/4.44, allocations: 129.3 kB / 2.106 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/4.44, allocations: 15.78 kB / 2.106 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005972/4.441, allocations: 0.7364 MB / 2.106 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.441, allocations: 0 / 2.106 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/4.443, allocations: 1.368 MB / 2.108 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000895/4.444, allocations: 315.5 kB / 2.108 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/4.444, allocations: 17.19 kB / 2.108 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/4.445, allocations: 76.53 kB / 2.108 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/4.445, allocations: 44.42 kB / 2.108 GB, free: 182.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/4.445, allocations: 28.45 kB / 2.108 GB, free: 182.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002129/4.448, allocations: 1.204 MB / 2.109 GB, free: 182.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/4.448, allocations: 0 / 2.109 GB, free: 182.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003692/4.451, allocations: 0.8537 MB / 2.11 GB, free: 182.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/4.454, allocations: 0.7908 MB / 2.111 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003347/4.457, allocations: 1.448 MB / 2.112 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/4.457, allocations: 1.312 kB / 2.112 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007818/4.458, allocations: 335.5 kB / 2.113 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/4.462, allocations: 0.7337 MB / 2.113 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/4.468, allocations: 3.415 MB / 2.117 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/4.469, allocations: 1.495 MB / 2.118 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002218/4.471, allocations: 440.2 kB / 2.119 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/4.472, allocations: 127.6 kB / 2.119 GB, free: 179.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/4.472, allocations: 0 / 2.119 GB, free: 179.7 MB / 0.948 GB Notification: Performance of Templates: time 0.06364/4.535, allocations: 33.76 MB / 2.152 GB, free: 179 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)