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.807/1.807, 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.001933/0.001932, allocations: 181 kB / 377.1 MB, free: 1.539 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.885/1.885, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0009975/0.0009975, allocations: 86.2 kB / 0.751 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004866, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3125, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/2.051, allocations: 405.3 MB / 1.384 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/2.051, allocations: 96.33 kB / 1.384 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.171/4.222, allocations: 0.6891 GB / 2.073 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.415e-06/4.222, allocations: 0 / 2.073 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004549/4.222, allocations: 43.98 kB / 2.073 GB, free: 0.5234 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.009991/4.232, allocations: 2.442 MB / 2.076 GB, free: 14.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/4.233, allocations: 12.03 kB / 2.076 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/4.235, allocations: 292 kB / 2.076 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009138/4.244, allocations: 2.533 MB / 2.079 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/4.244, allocations: 78 kB / 2.079 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/4.245, allocations: 108 kB / 2.079 GB, free: 10.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/4.248, allocations: 1.245 MB / 2.08 GB, free: 9.641 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/4.248, allocations: 3.938 kB / 2.08 GB, free: 9.637 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/4.248, allocations: 44 kB / 2.08 GB, free: 9.594 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/4.248, allocations: 26.41 kB / 2.08 GB, free: 9.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/4.251, allocations: 0.9523 MB / 2.081 GB, free: 8.617 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.01169/4.262, allocations: 6.616 MB / 2.087 GB, free: 1.543 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/4.264, allocations: 0.6155 MB / 2.088 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7263/4.99, allocations: 1.606 MB / 2.09 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007601/4.991, allocations: 372.7 kB / 2.09 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001192/4.992, allocations: 138 kB / 2.09 GB, free: 189.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.178e-06/4.992, allocations: 0 / 2.09 GB, free: 189.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.003149/4.996, allocations: 1.248 MB / 2.091 GB, free: 189 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/4.996, allocations: 59.34 kB / 2.091 GB, free: 188.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/4.998, allocations: 1.573 MB / 2.093 GB, free: 188.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/4.998, allocations: 39.98 kB / 2.093 GB, free: 188.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/4.999, allocations: 0.8488 MB / 2.094 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/4.999, allocations: 162.8 kB / 2.094 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/4.999, allocations: 14.97 kB / 2.094 GB, free: 188.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/4.999, allocations: 336.5 kB / 2.094 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/5, allocations: 287.8 kB / 2.094 GB, free: 188.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/5, allocations: 0.7289 MB / 2.095 GB, free: 187.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/5.001, allocations: 423.5 kB / 2.096 GB, free: 187.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/5.001, allocations: 2.75 kB / 2.096 GB, free: 187.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002195/5.003, allocations: 1.212 MB / 2.097 GB, free: 187.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008559/5.004, allocations: 4.134 MB / 2.101 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/5.004, allocations: 8.094 kB / 2.101 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/5.004, allocations: 139.3 kB / 2.101 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/5.005, allocations: 172.7 kB / 2.101 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005752/5.006, allocations: 0.7607 MB / 2.102 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/5.007, allocations: 106.6 kB / 2.102 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/5.007, allocations: 47.75 kB / 2.102 GB, free: 182.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/5.007, allocations: 6.422 kB / 2.102 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/5.009, allocations: 1.072 MB / 2.103 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/5.009, allocations: 9.75 kB / 2.103 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/5.009, allocations: 121.1 kB / 2.103 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/5.01, allocations: 161.8 kB / 2.103 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/5.012, allocations: 2.155 MB / 2.105 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/5.014, allocations: 97.47 kB / 2.106 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/5.014, allocations: 45.64 kB / 2.106 GB, free: 181.1 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.001338/5.015, allocations: 0.5855 MB / 2.106 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/5.015, allocations: 171.2 kB / 2.106 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/5.018, allocations: 1 MB / 2.107 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/5.018, allocations: 7.594 kB / 2.107 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/5.018, allocations: 0 / 2.107 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/5.019, allocations: 0.9593 MB / 2.108 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004817/5.024, allocations: 2.175 MB / 2.11 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/5.024, allocations: 0 / 2.11 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/5.025, allocations: 86.36 kB / 2.11 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/5.025, allocations: 130.4 kB / 2.111 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/5.025, allocations: 15 kB / 2.111 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005825/5.026, allocations: 0.733 MB / 2.111 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/5.026, allocations: 4.594 kB / 2.111 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/5.029, allocations: 1.406 MB / 2.113 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/5.029, allocations: 322 kB / 2.113 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/5.03, allocations: 12.22 kB / 2.113 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/5.03, allocations: 83.25 kB / 2.113 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/5.031, allocations: 42.78 kB / 2.113 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/5.031, allocations: 23.03 kB / 2.113 GB, free: 178.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002465/5.033, allocations: 1.225 MB / 2.114 GB, free: 178.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.033, allocations: 0 / 2.114 GB, free: 178.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003852/5.037, allocations: 0.8701 MB / 2.115 GB, free: 178.7 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.002569/5.04, allocations: 0.7954 MB / 2.116 GB, free: 178.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004579/5.044, allocations: 1.45 MB / 2.117 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/5.044, allocations: 0 / 2.117 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/5.045, allocations: 345.8 kB / 2.118 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00554/5.051, allocations: 0.7439 MB / 2.118 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/5.062, allocations: 3.41 MB / 2.122 GB, free: 176.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/5.064, allocations: 1.533 MB / 2.123 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002798/5.067, allocations: 438.6 kB / 2.124 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/5.067, allocations: 122.3 kB / 2.124 GB, free: 176.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.677e-06/5.067, allocations: 0 / 2.124 GB, free: 176.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05893/5.126, allocations: 33.56 MB / 2.157 GB, free: 175.3 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)