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.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.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.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.0009278/0.000928, allocations: 180.8 kB / 366.7 MB, free: 1.68 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.491/1.491, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0008412/0.0008413, allocations: 99.2 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.663e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6732, allocations: 116.3 MB / 0.9732 GB, free: 76.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.782, allocations: 404.5 MB / 1.368 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.783, allocations: 92.56 kB / 1.368 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.667/4.449, allocations: 0.6826 GB / 2.051 GB, free: 193.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/4.449, allocations: 1.469 kB / 2.051 GB, free: 193.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004125/4.45, allocations: 46.3 kB / 2.051 GB, free: 193.1 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006675/4.457, allocations: 1.851 MB / 2.053 GB, free: 192.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/4.457, allocations: 12.19 kB / 2.053 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/4.459, allocations: 284.7 kB / 2.053 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009014/4.468, allocations: 2.514 MB / 2.056 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/4.468, allocations: 30.59 kB / 2.056 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/4.469, allocations: 64.84 kB / 2.056 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/4.471, allocations: 0.8393 MB / 2.056 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/4.473, allocations: 1.069 MB / 2.057 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/4.473, allocations: 9.625 kB / 2.058 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/4.473, allocations: 10 kB / 2.058 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/4.473, allocations: 22.41 kB / 2.058 GB, free: 191.6 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.007551/4.48, allocations: 6.41 MB / 2.064 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/4.481, allocations: 0.581 MB / 2.064 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/4.482, allocations: 367.6 kB / 2.065 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/4.484, allocations: 1.577 MB / 2.066 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/4.485, allocations: 321.8 kB / 2.067 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007615/4.485, allocations: 115.1 kB / 2.067 GB, free: 187 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.377e-06/4.485, allocations: 0 / 2.067 GB, free: 187 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001734/4.487, allocations: 0.81 MB / 2.067 GB, free: 186.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/4.487, allocations: 55.78 kB / 2.068 GB, free: 186.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/4.489, allocations: 1.357 MB / 2.069 GB, free: 186.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/4.489, allocations: 29.61 kB / 2.069 GB, free: 186.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/4.49, allocations: 0.8495 MB / 2.07 GB, free: 186.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/4.49, allocations: 160.6 kB / 2.07 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/4.49, allocations: 0 / 2.07 GB, free: 186.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/4.49, allocations: 338.4 kB / 2.07 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/4.49, allocations: 258.5 kB / 2.07 GB, free: 185.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/4.491, allocations: 0.6794 MB / 2.071 GB, free: 185.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/4.492, allocations: 408.2 kB / 2.071 GB, free: 185.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/4.492, allocations: 6.688 kB / 2.071 GB, free: 185.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002018/4.494, allocations: 1.111 MB / 2.073 GB, free: 185.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009587/4.495, allocations: 4.105 MB / 2.077 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/4.495, allocations: 11.16 kB / 2.077 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/4.495, allocations: 126.1 kB / 2.077 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/4.496, allocations: 166.9 kB / 2.077 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006016/4.496, allocations: 0.7901 MB / 2.078 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/4.498, allocations: 84.34 kB / 2.078 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/4.498, allocations: 48.05 kB / 2.078 GB, free: 180.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/4.498, allocations: 7.922 kB / 2.078 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/4.5, allocations: 0.9282 MB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.5, allocations: 7 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/4.5, allocations: 108 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/4.5, allocations: 171.8 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/4.502, allocations: 2.03 MB / 2.081 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/4.504, allocations: 83.11 kB / 2.081 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/4.504, allocations: 42.09 kB / 2.081 GB, free: 178.9 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 () * 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.0004203/4.505, allocations: 141.6 kB / 2.081 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/4.505, allocations: 161 kB / 2.081 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/4.507, allocations: 0.9058 MB / 2.082 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/4.507, allocations: 11.23 kB / 2.082 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/4.507, allocations: 0 / 2.082 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/4.509, allocations: 0.8607 MB / 2.083 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/4.513, allocations: 1.978 MB / 2.085 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/4.513, allocations: 3.953 kB / 2.085 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/4.513, allocations: 87.7 kB / 2.085 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/4.513, allocations: 100.7 kB / 2.085 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/4.513, allocations: 10.3 kB / 2.085 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/4.514, allocations: 0.7337 MB / 2.086 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/4.514, allocations: 0 / 2.086 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/4.516, allocations: 1.275 MB / 2.087 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/4.516, allocations: 312.8 kB / 2.087 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/4.516, allocations: 7.844 kB / 2.087 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/4.517, allocations: 69.2 kB / 2.088 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/4.517, allocations: 40.31 kB / 2.088 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/4.517, allocations: 24.94 kB / 2.088 GB, free: 176.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001317/4.519, allocations: 1.04 MB / 2.089 GB, free: 176.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/4.519, allocations: 0 / 2.089 GB, free: 176.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002861/4.521, allocations: 0.8448 MB / 2.089 GB, free: 176.6 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) * 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.001489/4.523, allocations: 0.7821 MB / 2.09 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002114/4.525, allocations: 1.359 MB / 2.092 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/4.525, allocations: 0 / 2.092 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004318/4.526, allocations: 289 kB / 2.092 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/4.528, allocations: 0.6221 MB / 2.092 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/4.532, allocations: 2.192 MB / 2.095 GB, free: 175.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/4.533, allocations: 1.529 MB / 2.096 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002542/4.535, allocations: 0.7982 MB / 2.097 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/4.536, allocations: 93.94 kB / 2.097 GB, free: 174.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/4.536, allocations: 0 / 2.097 GB, free: 174.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05739/4.593, allocations: 30.55 MB / 2.127 GB, free: 173.5 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)