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.001151/0.001151, allocations: 113 kB / 16.42 MB, free: 6.5 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.001383/0.001383, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 290.2 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.9336/0.9336, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3705, allocations: 86.99 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5549/0.9255, allocations: 237.5 MB / 0.999 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.9412, allocations: 15.8 MB / 1.014 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.9432, allocations: 65.84 kB / 1.014 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.9454, allocations: 1.066 MB / 1.016 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.9517, allocations: 3.1 MB / 1.019 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.9551, allocations: 1.7 MB / 1.02 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.9586, allocations: 3.449 MB / 1.024 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.9599, allocations: 1.285 MB / 1.025 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.9647, allocations: 2.576 MB / 1.027 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.9661, allocations: 1.088 MB / 1.028 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.9663, allocations: 117.3 kB / 1.029 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.9709, allocations: 3.107 MB / 1.032 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.9713, allocations: 479.1 kB / 1.032 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000705/0.972, allocations: 0.8137 MB / 1.033 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.9757, allocations: 2.975 MB / 1.036 GB, free: 48 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9758, allocations: 2.828 kB / 1.036 GB, free: 48 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9758, allocations: 1.312 kB / 1.036 GB, free: 48 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.9758, allocations: 0.875 kB / 1.036 GB, free: 48 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.003312/0.9791, allocations: 1.997 MB / 1.038 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.9791, allocations: 8.5 kB / 1.038 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.9819, allocations: 0.5005 MB / 1.038 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.984, allocations: 1.167 MB / 1.039 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.984, allocations: 81.56 kB / 1.039 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.9842, allocations: 94.69 kB / 1.039 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.9863, allocations: 1.354 MB / 1.041 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.9863, allocations: 7.906 kB / 1.041 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.9865, allocations: 46.06 kB / 1.041 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.9865, allocations: 43.75 kB / 1.041 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.9888, allocations: 1.055 MB / 1.042 GB, free: 14.1 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.007081/0.9959, allocations: 7.381 MB / 1.049 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.9974, allocations: 0.5362 MB / 1.05 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.998, allocations: 261.6 kB / 1.05 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.9983, allocations: 282 kB / 1.05 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9984, allocations: 33.94 kB / 1.05 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.9984, allocations: 0 / 1.05 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002252/1.001, allocations: 0.8404 MB / 1.051 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.001, allocations: 57.53 kB / 1.051 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.002, allocations: 1.398 MB / 1.052 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/1.002, allocations: 32.73 kB / 1.052 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/1.003, allocations: 0.7021 MB / 1.053 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/1.003, allocations: 121.8 kB / 1.053 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.003, allocations: 173.4 kB / 1.053 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.003, allocations: 335.1 kB / 1.054 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/1.004, allocations: 312.5 kB / 1.054 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.005, allocations: 0.6886 MB / 1.055 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/1.007, allocations: 0.9268 MB / 1.056 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.007, allocations: 2.781 kB / 1.056 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00229/1.009, allocations: 1.041 MB / 1.057 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.009, allocations: 10.41 kB / 1.057 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.009, allocations: 14.56 kB / 1.057 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.009, allocations: 18.78 kB / 1.057 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/1.01, allocations: 209 kB / 1.057 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.01, allocations: 24.2 kB / 1.057 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.012, allocations: 179.4 kB / 1.057 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.012, allocations: 40.98 kB / 1.057 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/1.013, allocations: 0.5717 MB / 1.058 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/1.014, allocations: 0.6824 MB / 1.058 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00162/1.016, allocations: 0.9309 MB / 1.059 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/1.016, allocations: 8.688 kB / 1.059 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002192/1.018, allocations: 1.035 MB / 1.06 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.018, allocations: 11.31 kB / 1.06 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.018, allocations: 15.28 kB / 1.06 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.018, allocations: 23.91 kB / 1.06 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/1.019, allocations: 201.9 kB / 1.061 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/1.019, allocations: 25.11 kB / 1.061 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.02, allocations: 137.3 kB / 1.061 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/1.02, allocations: 45.98 kB / 1.061 GB, free: 1.684 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.0002355/1.02, allocations: 234.3 kB / 1.061 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.021, allocations: 140.5 kB / 1.061 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.022, allocations: 0.6479 MB / 1.062 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.022, allocations: 2.531 kB / 1.062 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.022, allocations: 3.984 kB / 1.062 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/1.023, allocations: 282.8 kB / 1.062 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/1.023, allocations: 6.031 kB / 1.062 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/1.024, allocations: 62.7 kB / 1.062 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/1.024, allocations: 17.81 kB / 1.062 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001624/1.026, allocations: 0.593 MB / 1.063 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001523/1.027, allocations: 0.7715 MB / 1.063 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005875/1.028, allocations: 220.3 kB / 1.064 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001453/1.029, allocations: 0.9482 MB / 1.065 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of Backend: time 5.41e-07/1.029, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004373/1.034, allocations: 1.593 MB / 1.066 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of SimCode: time 0.005313/1.039, allocations: 2.948 MB / 1.069 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.04998/1.089, allocations: 33.5 MB / 1.102 GB, free: 8.637 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)