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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001696/0.001696, allocations: 249.4 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7242/0.7242, allocations: 138.4 MB / 402.2 MB, free: 0.4961 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.285e-05, allocations: 5.609 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.1344/0.1344, allocations: 154.4 MB / 0.6022 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1461, allocations: 10.19 MB / 0.6122 GB, free: 13.78 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.1471, allocations: 87.25 kB / 0.6123 GB, free: 13.69 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007859/0.1479, allocations: 428.8 kB / 0.6127 GB, free: 13.27 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1501, allocations: 1.643 MB / 0.6143 GB, free: 11.62 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.1522, allocations: 1.444 MB / 0.6157 GB, free: 10.19 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.1545, allocations: 3.404 MB / 0.619 GB, free: 6.773 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.1562, allocations: 1.155 MB / 0.6201 GB, free: 5.652 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.1582, allocations: 2.014 MB / 0.6221 GB, free: 3.734 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/0.159, allocations: 0.8344 MB / 0.6229 GB, free: 2.898 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1591, allocations: 116 kB / 0.623 GB, free: 2.785 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1604, allocations: 1.15 MB / 0.6242 GB, free: 1.633 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.1607, allocations: 0.51 MB / 0.6247 GB, free: 1.121 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.1611, allocations: 0.526 MB / 0.6252 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.1625, allocations: 1.74 MB / 0.6269 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1625, allocations: 0 / 0.6269 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1626, allocations: 0 / 0.6269 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.1626, allocations: 4 kB / 0.6269 GB, free: 14.84 MB / 0.5886 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.001832/0.1644, allocations: 1.835 MB / 0.6287 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1644, allocations: 16.75 kB / 0.6287 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1656, allocations: 0.5029 MB / 0.6292 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1666, allocations: 0.8583 MB / 0.63 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.1667, allocations: 78 kB / 0.6301 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.1668, allocations: 103.9 kB / 0.6302 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/0.1677, allocations: 1.039 MB / 0.6312 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1677, allocations: 7.938 kB / 0.6312 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.1678, allocations: 43.98 kB / 0.6312 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.1678, allocations: 46 kB / 0.6313 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.1682, allocations: 367 kB / 0.6316 GB, free: 9.727 MB / 0.5886 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.003892/0.1721, allocations: 5.163 MB / 0.6367 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1724, allocations: 223.1 kB / 0.6369 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.1725, allocations: 71.66 kB / 0.637 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.1726, allocations: 27.97 kB / 0.637 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1726, allocations: 38.56 kB / 0.637 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.1726, allocations: 0 / 0.637 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.0005043/0.1731, allocations: 273.4 kB / 0.6373 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.1732, allocations: 55.41 kB / 0.6373 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.1738, allocations: 0.9137 MB / 0.6382 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1738, allocations: 33.7 kB / 0.6383 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1741, allocations: 0.5869 MB / 0.6388 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.1741, allocations: 123 kB / 0.639 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1743, allocations: 154.4 kB / 0.6391 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.1743, allocations: 341.8 kB / 0.6394 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1745, allocations: 83.64 kB / 0.6395 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.175, allocations: 0.6635 MB / 0.6402 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1755, allocations: 0.5457 MB / 0.6407 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1755, allocations: 0 / 0.6407 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0005191/0.176, allocations: 499.6 kB / 0.6412 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.176, allocations: 8 kB / 0.6412 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.176, allocations: 16.83 kB / 0.6412 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.176, allocations: 16 kB / 0.6412 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.1764, allocations: 191.6 kB / 0.6414 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1764, allocations: 24.92 kB / 0.6414 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.1769, allocations: 127.3 kB / 0.6415 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.1769, allocations: 39.98 kB / 0.6416 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/0.1771, allocations: 167.8 kB / 0.6417 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000306/0.1774, allocations: 0.6554 MB / 0.6424 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003939/0.1778, allocations: 0.5413 MB / 0.6429 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.1778, allocations: 4 kB / 0.6429 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0004913/0.1783, allocations: 495.7 kB / 0.6434 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.1783, allocations: 8 kB / 0.6434 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1783, allocations: 12 kB / 0.6434 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1783, allocations: 16 kB / 0.6434 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.1787, allocations: 193.7 kB / 0.6436 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1787, allocations: 19.94 kB / 0.6436 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.1791, allocations: 103.6 kB / 0.6437 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1792, allocations: 39.98 kB / 0.6438 GB, free: 12.26 MB / 0.6042 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 (87): * Single equations (assignments): 87 * 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.0001169/0.1793, allocations: 235.9 kB / 0.644 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.1794, allocations: 79.84 kB / 0.6441 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1797, allocations: 294.5 kB / 0.6443 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1797, allocations: 4 kB / 0.6443 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1797, allocations: 0 / 0.6443 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1797, allocations: 3.984 kB / 0.6443 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1808, allocations: 0.9803 MB / 0.6453 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1808, allocations: 7.938 kB / 0.6453 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.181, allocations: 79.88 kB / 0.6454 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.181, allocations: 11.25 kB / 0.6454 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.181, allocations: 11.98 kB / 0.6454 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.181, allocations: 4 kB / 0.6454 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.181, allocations: 7.938 kB / 0.6454 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1813, allocations: 495.3 kB / 0.6459 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.1815, allocations: 147.1 kB / 0.646 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.1816, allocations: 11.95 kB / 0.646 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.1819, allocations: 41 kB / 0.6461 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.182, allocations: 35.83 kB / 0.6461 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.182, allocations: 19.98 kB / 0.6461 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005478/0.1826, allocations: 447 kB / 0.6466 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1826, allocations: 0 / 0.6466 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009395/0.1835, allocations: 0.6586 MB / 0.6472 GB, free: 8.539 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.000234/0.1837, allocations: 156.1 kB / 0.6474 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.1843, allocations: 0.5065 MB / 0.6478 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/0.1843, allocations: 16.5 kB / 0.6479 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1844, allocations: 86.19 kB / 0.6479 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1855, allocations: 489.3 kB / 0.6484 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1879, allocations: 2.021 MB / 0.6504 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.188, allocations: 251.2 kB / 0.6506 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005141/0.1885, allocations: 214.8 kB / 0.6508 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.1892, allocations: 373 kB / 0.6512 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.1892, allocations: 0 / 0.6512 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of Templates: time 0.02124/0.2104, allocations: 18.27 MB / 0.669 GB, free: 2.566 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.051154798828065]