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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 116 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 292 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 103.8 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3718, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5649/0.9367, allocations: 237.5 MB / 0.999 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.9524, allocations: 15.8 MB / 1.014 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.9545, allocations: 59.31 kB / 1.014 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.9567, allocations: 1.035 MB / 1.015 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006009/0.9627, allocations: 2.979 MB / 1.018 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.9661, allocations: 1.683 MB / 1.02 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.9697, allocations: 3.437 MB / 1.023 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.971, allocations: 1.287 MB / 1.025 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.9758, allocations: 2.532 MB / 1.027 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.9774, allocations: 1.081 MB / 1.028 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.9776, allocations: 117.5 kB / 1.028 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.9821, allocations: 3.097 MB / 1.031 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.9825, allocations: 482.4 kB / 1.032 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.9832, allocations: 0.8093 MB / 1.033 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.9869, allocations: 2.981 MB / 1.035 GB, free: 76 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9869, allocations: 1.875 kB / 1.035 GB, free: 76 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9869, allocations: 1.781 kB / 1.035 GB, free: 76 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.987, allocations: 0 / 1.035 GB, free: 76 kB / 0.7169 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.003198/0.9902, allocations: 1.996 MB / 1.037 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.9902, allocations: 12.27 kB / 1.037 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/0.9929, allocations: 0.4963 MB / 1.038 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.9948, allocations: 1.166 MB / 1.039 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.9949, allocations: 83.91 kB / 1.039 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.995, allocations: 102.1 kB / 1.039 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.9971, allocations: 1.352 MB / 1.041 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.9971, allocations: 10.16 kB / 1.041 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.9973, allocations: 48.42 kB / 1.041 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.9973, allocations: 49.38 kB / 1.041 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.9995, allocations: 1.046 MB / 1.042 GB, free: 14.12 MB / 0.7325 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.006805/1.006, allocations: 7.38 MB / 1.049 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.008, allocations: 0.54 MB / 1.049 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/1.008, allocations: 259.3 kB / 1.05 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.009, allocations: 289.6 kB / 1.05 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.009, allocations: 37.41 kB / 1.05 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/1.009, allocations: 0 / 1.05 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002158/1.011, allocations: 0.8324 MB / 1.051 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/1.011, allocations: 56.06 kB / 1.051 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.013, allocations: 1.4 MB / 1.052 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/1.013, allocations: 32.11 kB / 1.052 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/1.013, allocations: 0.7052 MB / 1.053 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/1.013, allocations: 121.7 kB / 1.053 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.014, allocations: 164.2 kB / 1.053 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.014, allocations: 330.8 kB / 1.054 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007884/1.014, allocations: 319.8 kB / 1.054 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.015, allocations: 0.686 MB / 1.055 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.017, allocations: 0.9274 MB / 1.055 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/1.017, allocations: 4.812 kB / 1.055 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002172/1.019, allocations: 1.043 MB / 1.056 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.019, allocations: 13.62 kB / 1.056 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.019, allocations: 18.41 kB / 1.056 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.019, allocations: 16.06 kB / 1.056 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/1.02, allocations: 198.7 kB / 1.057 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/1.02, allocations: 26.89 kB / 1.057 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.021, allocations: 185.1 kB / 1.057 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/1.022, allocations: 39.75 kB / 1.057 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001111/1.023, allocations: 0.5664 MB / 1.057 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/1.024, allocations: 0.682 MB / 1.058 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001653/1.025, allocations: 0.9344 MB / 1.059 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/1.025, allocations: 2.906 kB / 1.059 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002079/1.028, allocations: 1.046 MB / 1.06 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.028, allocations: 9.438 kB / 1.06 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.028, allocations: 14.97 kB / 1.06 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.028, allocations: 24.72 kB / 1.06 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/1.028, allocations: 203.7 kB / 1.06 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1.028, allocations: 24.83 kB / 1.06 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.03, allocations: 132.5 kB / 1.06 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/1.03, allocations: 43.39 kB / 1.06 GB, free: 1.848 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/1.03, allocations: 242.1 kB / 1.061 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/1.03, allocations: 136 kB / 1.061 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/1.032, allocations: 0.6404 MB / 1.061 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.032, allocations: 3.984 kB / 1.061 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.032, allocations: 0 / 1.061 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/1.032, allocations: 287.7 kB / 1.062 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.032, allocations: 7.062 kB / 1.062 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/1.033, allocations: 64.27 kB / 1.062 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.033, allocations: 18.94 kB / 1.062 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001554/1.035, allocations: 0.5951 MB / 1.062 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001479/1.036, allocations: 0.7613 MB / 1.063 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005739/1.037, allocations: 224.3 kB / 1.063 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001365/1.038, allocations: 0.956 MB / 1.064 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of Backend: time 2.9e-07/1.038, allocations: 2.625 kB / 1.064 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00423/1.043, allocations: 1.586 MB / 1.066 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 0.005066/1.048, allocations: 2.925 MB / 1.069 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of Templates: time 0.04812/1.096, allocations: 33.52 MB / 1.101 GB, free: 8.926 MB / 0.7794 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)