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.9744/0.9744, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 184.2 kB / 182.2 MB, free: 9.457 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.559/1.559, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009035/0.0009036, allocations: 82.94 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 280.4 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.731e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4762, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/5.172, allocations: 1.911 GB / 2.668 GB, free: 108.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/5.172, allocations: 92.39 kB / 2.668 GB, free: 108.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.188/10.36, allocations: 1.455 GB / 4.123 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/10.36, allocations: 0 / 4.123 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001171/10.36, allocations: 39.98 kB / 4.123 GB, free: 13.11 MB / 0.7292 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.005059/10.37, allocations: 1.894 MB / 4.125 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/10.37, allocations: 8.031 kB / 4.125 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/10.37, allocations: 0.5055 MB / 4.126 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/10.37, allocations: 1.224 MB / 4.127 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008741/10.37, allocations: 237.8 kB / 4.127 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/10.37, allocations: 64 kB / 4.127 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001253/10.37, allocations: 0.7107 MB / 4.128 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/10.37, allocations: 1.051 MB / 4.129 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/10.38, allocations: 7.984 kB / 4.129 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/10.38, allocations: 0 / 4.129 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/10.38, allocations: 49.98 kB / 4.129 GB, free: 7.16 MB / 0.7292 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.006714/10.38, allocations: 6.399 MB / 4.135 GB, free: 332 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.679/11.06, allocations: 461 kB / 4.135 GB, free: 74.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/11.06, allocations: 181.7 kB / 4.136 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/11.06, allocations: 286 kB / 4.136 GB, free: 74.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/11.06, allocations: 39.91 kB / 4.136 GB, free: 74.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/11.06, allocations: 0 / 4.136 GB, free: 74.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0018/11.06, allocations: 479.6 kB / 4.136 GB, free: 74.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/11.06, allocations: 56.86 kB / 4.136 GB, free: 74.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/11.07, allocations: 0.8238 MB / 4.137 GB, free: 74.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/11.07, allocations: 30.61 kB / 4.137 GB, free: 73.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/11.07, allocations: 0.7013 MB / 4.138 GB, free: 73.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/11.07, allocations: 112.2 kB / 4.138 GB, free: 73.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/11.07, allocations: 1 kB / 4.138 GB, free: 73.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001034/11.07, allocations: 334.8 kB / 4.138 GB, free: 73.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/11.07, allocations: 185.6 kB / 4.139 GB, free: 73.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/11.07, allocations: 0.5609 MB / 4.139 GB, free: 72.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/11.07, allocations: 293.3 kB / 4.139 GB, free: 72.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/11.07, allocations: 6.469 kB / 4.139 GB, free: 72.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001744/11.07, allocations: 0.7423 MB / 4.14 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/11.07, allocations: 4.114 MB / 4.144 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/11.07, allocations: 10.47 kB / 4.144 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.825e-05/11.07, allocations: 15.81 kB / 4.144 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/11.07, allocations: 210.2 kB / 4.144 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/11.07, allocations: 24.11 kB / 4.144 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/11.07, allocations: 180.3 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/11.07, allocations: 42.34 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/11.07, allocations: 2.625 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/11.08, allocations: 0.6066 MB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/11.08, allocations: 9.719 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/11.08, allocations: 14.5 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/11.08, allocations: 208.1 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/11.08, allocations: 21.75 kB / 4.145 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/11.08, allocations: 145.2 kB / 4.146 GB, free: 68.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/11.08, allocations: 46.91 kB / 4.146 GB, free: 68.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0002421/11.08, allocations: 135.5 kB / 4.146 GB, free: 68.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/11.08, allocations: 111.4 kB / 4.146 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/11.08, allocations: 494.5 kB / 4.146 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/11.08, allocations: 0 / 4.146 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/11.08, allocations: 3.906 kB / 4.146 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/11.08, allocations: 1.688 kB / 4.146 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/11.08, allocations: 1.669 MB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/11.08, allocations: 3.344 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/11.08, allocations: 109.8 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/11.08, allocations: 3.938 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/11.08, allocations: 13.34 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/11.08, allocations: 9.438 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/11.08, allocations: 5.875 kB / 4.148 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/11.08, allocations: 0.8284 MB / 4.149 GB, free: 67.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/11.08, allocations: 245.5 kB / 4.149 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/11.08, allocations: 7.484 kB / 4.149 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/11.08, allocations: 121.7 kB / 4.149 GB, free: 67.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/11.08, allocations: 25.45 kB / 4.149 GB, free: 67.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/11.08, allocations: 19.56 kB / 4.149 GB, free: 67.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007546/11.09, allocations: 0.625 MB / 4.15 GB, free: 67.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/11.09, allocations: 1.5 kB / 4.15 GB, free: 67.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003062/11.09, allocations: 0.8113 MB / 4.151 GB, free: 67.02 MB / 0.7292 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.005204/11.09, allocations: 3.495 MB / 4.154 GB, free: 65.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001813/11.1, allocations: 0.7975 MB / 4.155 GB, free: 65.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/11.1, allocations: 3.594 kB / 4.155 GB, free: 65.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/11.1, allocations: 176.2 kB / 4.155 GB, free: 65.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/11.1, allocations: 393 kB / 4.155 GB, free: 65.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/11.1, allocations: 1.604 MB / 4.157 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/11.1, allocations: 1.214 MB / 4.158 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001886/11.11, allocations: 377.2 kB / 4.159 GB, free: 64.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/11.11, allocations: 59.83 kB / 4.159 GB, free: 64.42 MB / 0.7292 GB Notification: Performance of SimCode: time 1.734e-06/11.11, allocations: 0 / 4.159 GB, free: 64.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.05607/11.16, allocations: 33.01 MB / 4.191 GB, free: 63.41 MB / 0.7292 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)