Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7937/0.7937, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 181.1 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 95.8 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 278.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.39e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4419, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.592/5.034, allocations: 1.912 GB / 2.676 GB, free: 135.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/5.034, allocations: 91.83 kB / 2.676 GB, free: 135 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.344/10.38, allocations: 1.47 GB / 4.146 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/10.38, allocations: 0 / 4.146 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001306/10.38, allocations: 39.98 kB / 4.146 GB, free: 13.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005641/10.38, allocations: 1.894 MB / 4.148 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/10.38, allocations: 12.03 kB / 4.148 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/10.39, allocations: 0.5055 MB / 4.149 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/10.39, allocations: 1.227 MB / 4.15 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009047/10.39, allocations: 273.8 kB / 4.15 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/10.39, allocations: 100 kB / 4.15 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/10.39, allocations: 1.2 MB / 4.151 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/10.39, allocations: 11.94 kB / 4.152 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/10.39, allocations: 40 kB / 4.152 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/10.39, allocations: 45.98 kB / 4.152 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/10.4, allocations: 0.8354 MB / 4.152 GB, free: 6.777 MB / 0.7448 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.6597/11.06, allocations: 6.638 MB / 4.159 GB, free: 84.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/11.06, allocations: 420.7 kB / 4.159 GB, free: 84.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/11.06, allocations: 194.2 kB / 4.159 GB, free: 84.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/11.06, allocations: 287.7 kB / 4.16 GB, free: 84.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/11.06, allocations: 39.3 kB / 4.16 GB, free: 84.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 5.36e-06/11.06, allocations: 1.062 kB / 4.16 GB, free: 84.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.002277/11.06, allocations: 0.4992 MB / 4.16 GB, free: 84.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/11.06, allocations: 58.14 kB / 4.16 GB, free: 84.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/11.06, allocations: 1.139 MB / 4.161 GB, free: 84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/11.06, allocations: 36.77 kB / 4.161 GB, free: 83.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/11.06, allocations: 0.6786 MB / 4.162 GB, free: 83.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/11.06, allocations: 115.7 kB / 4.162 GB, free: 83.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/11.06, allocations: 14.5 kB / 4.162 GB, free: 83.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/11.06, allocations: 335.8 kB / 4.163 GB, free: 83.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/11.07, allocations: 204.2 kB / 4.163 GB, free: 83.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/11.07, allocations: 0.5573 MB / 4.163 GB, free: 82.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/11.07, allocations: 282.1 kB / 4.164 GB, free: 82.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/11.07, allocations: 2.906 kB / 4.164 GB, free: 82.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001748/11.07, allocations: 0.8178 MB / 4.164 GB, free: 82.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009649/11.07, allocations: 3.815 MB / 4.168 GB, free: 78.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/11.07, allocations: 9.219 kB / 4.168 GB, free: 78.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.753e-05/11.07, allocations: 15.41 kB / 4.168 GB, free: 78.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/11.07, allocations: 212.3 kB / 4.168 GB, free: 78.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/11.07, allocations: 19.62 kB / 4.168 GB, free: 78.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/11.07, allocations: 235.2 kB / 4.169 GB, free: 78.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/11.07, allocations: 50.73 kB / 4.169 GB, free: 78.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/11.07, allocations: 3.938 kB / 4.169 GB, free: 78.96 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001249/11.07, allocations: 0.6688 MB / 4.169 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/11.07, allocations: 10.44 kB / 4.169 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/11.07, allocations: 16.62 kB / 4.169 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/11.07, allocations: 204.2 kB / 4.17 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/11.07, allocations: 19.38 kB / 4.17 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/11.08, allocations: 203.6 kB / 4.17 GB, free: 78.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/11.08, allocations: 44.77 kB / 4.17 GB, free: 78.93 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002263/11.08, allocations: 155 kB / 4.17 GB, free: 78.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/11.08, allocations: 140.8 kB / 4.17 GB, free: 78.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/11.08, allocations: 0.5215 MB / 4.171 GB, free: 78.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/11.08, allocations: 3.812 kB / 4.171 GB, free: 78.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/11.08, allocations: 3.375 kB / 4.171 GB, free: 78.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/11.08, allocations: 0 / 4.171 GB, free: 78.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/11.08, allocations: 1.753 MB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/11.08, allocations: 9.672 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/11.08, allocations: 100.2 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/11.08, allocations: 3.906 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/11.08, allocations: 23.61 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/11.08, allocations: 7.391 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/11.08, allocations: 8.625 kB / 4.172 GB, free: 78.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/11.08, allocations: 0.8841 MB / 4.173 GB, free: 77.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/11.08, allocations: 286.4 kB / 4.174 GB, free: 77.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/11.08, allocations: 12.09 kB / 4.174 GB, free: 77.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/11.08, allocations: 112.7 kB / 4.174 GB, free: 77.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/11.09, allocations: 30.12 kB / 4.174 GB, free: 77.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/11.09, allocations: 27.14 kB / 4.174 GB, free: 77.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00113/11.09, allocations: 0.879 MB / 4.175 GB, free: 77.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.9e-07/11.09, allocations: 3.844 kB / 4.175 GB, free: 77.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003225/11.09, allocations: 0.8743 MB / 4.175 GB, free: 77.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.005186/11.09, allocations: 3.158 MB / 4.179 GB, free: 76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001757/11.1, allocations: 0.8763 MB / 4.179 GB, free: 75.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/11.1, allocations: 0 / 4.179 GB, free: 75.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/11.1, allocations: 189.2 kB / 4.18 GB, free: 75.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/11.1, allocations: 0.6141 MB / 4.18 GB, free: 75.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/11.1, allocations: 1.693 MB / 4.182 GB, free: 75.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/11.1, allocations: 1.209 MB / 4.183 GB, free: 74.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002139/11.11, allocations: 474.8 kB / 4.183 GB, free: 74.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/11.11, allocations: 70.42 kB / 4.184 GB, free: 74.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.684e-06/11.11, allocations: 0 / 4.184 GB, free: 74.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.09932/11.21, allocations: 64.64 MB / 4.247 GB, free: 72.67 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)