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.001248/0.001248, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001469/0.001469, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001646/0.001646, allocations: 258.1 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.6892/0.6892, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.082e-06/1.082e-06, allocations: 0 / 462.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.339e-05, allocations: 6.953 kB / 462.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.1276/0.1276, allocations: 154.3 MB / 0.6021 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1385, allocations: 10.19 MB / 0.6121 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.1398, allocations: 83.31 kB / 0.6122 GB, free: 13.9 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.1407, allocations: 432.7 kB / 0.6126 GB, free: 13.47 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.143, allocations: 1.656 MB / 0.6142 GB, free: 11.81 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1451, allocations: 1.452 MB / 0.6156 GB, free: 10.37 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.1478, allocations: 3.402 MB / 0.6189 GB, free: 6.953 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.1487, allocations: 1.047 MB / 0.62 GB, free: 5.867 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.1512, allocations: 2.106 MB / 0.622 GB, free: 3.883 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.152, allocations: 0.8332 MB / 0.6228 GB, free: 3.047 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1521, allocations: 116 kB / 0.623 GB, free: 2.934 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.1535, allocations: 1.126 MB / 0.6241 GB, free: 1.805 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.1538, allocations: 0.506 MB / 0.6245 GB, free: 1.297 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.1542, allocations: 0.526 MB / 0.6251 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.1558, allocations: 1.744 MB / 0.6268 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1558, allocations: 0 / 0.6268 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1558, allocations: 0 / 0.6268 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.1559, allocations: 0 / 0.6268 GB, free: 15.02 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.001779/0.1576, allocations: 1.831 MB / 0.6286 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1577, allocations: 12.69 kB / 0.6286 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1588, allocations: 0.5146 MB / 0.6291 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.1597, allocations: 0.8589 MB / 0.6299 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.1597, allocations: 78 kB / 0.63 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.1598, allocations: 96 kB / 0.6301 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009028/0.1607, allocations: 1.043 MB / 0.6311 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1608, allocations: 7.938 kB / 0.6311 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.1608, allocations: 46.11 kB / 0.6311 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.1609, allocations: 42.48 kB / 0.6312 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.1613, allocations: 359 kB / 0.6315 GB, free: 9.914 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.003516/0.1648, allocations: 5.166 MB / 0.6366 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1651, allocations: 225.5 kB / 0.6368 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.1652, allocations: 67.66 kB / 0.6368 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-05/0.1653, allocations: 27.98 kB / 0.6369 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1653, allocations: 35.86 kB / 0.6369 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.1653, allocations: 8 kB / 0.6369 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.0005094/0.1658, allocations: 269.4 kB / 0.6372 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1659, allocations: 55.41 kB / 0.6372 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.1665, allocations: 0.9215 MB / 0.6381 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.1666, allocations: 33.7 kB / 0.6382 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.1669, allocations: 0.583 MB / 0.6387 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.1669, allocations: 123 kB / 0.6388 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1671, allocations: 154.4 kB / 0.639 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.1672, allocations: 341.8 kB / 0.6393 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1673, allocations: 79.64 kB / 0.6394 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.1676, allocations: 0.6558 MB / 0.64 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.168, allocations: 0.5458 MB / 0.6406 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.168, allocations: 7.984 kB / 0.6406 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0005053/0.1685, allocations: 497.8 kB / 0.641 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1686, allocations: 8 kB / 0.6411 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1686, allocations: 12 kB / 0.6411 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1686, allocations: 19.98 kB / 0.6411 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.169, allocations: 184.1 kB / 0.6413 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.169, allocations: 23.92 kB / 0.6413 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.1694, allocations: 123.8 kB / 0.6414 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.1694, allocations: 35.98 kB / 0.6414 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002246/0.1697, allocations: 171.8 kB / 0.6416 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003317/0.17, allocations: 0.6555 MB / 0.6422 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004029/0.1704, allocations: 0.5497 MB / 0.6428 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.606e-06/0.1704, allocations: 4 kB / 0.6428 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0004909/0.1709, allocations: 486.8 kB / 0.6432 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1709, allocations: 12.94 kB / 0.6433 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1709, allocations: 12 kB / 0.6433 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1709, allocations: 16 kB / 0.6433 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1713, allocations: 187.6 kB / 0.6435 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1713, allocations: 23.92 kB / 0.6435 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.1717, allocations: 104.2 kB / 0.6436 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.1717, allocations: 31.98 kB / 0.6436 GB, free: 12.46 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.0001226/0.1718, allocations: 235.9 kB / 0.6438 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.1719, allocations: 79.91 kB / 0.6439 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.1723, allocations: 297.5 kB / 0.6442 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1723, allocations: 5.406 kB / 0.6442 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1723, allocations: 1 kB / 0.6442 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1723, allocations: 0 / 0.6442 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1733, allocations: 0.9801 MB / 0.6452 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1733, allocations: 4 kB / 0.6452 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.1735, allocations: 76.34 kB / 0.6452 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1735, allocations: 7.938 kB / 0.6452 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1735, allocations: 12 kB / 0.6453 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1735, allocations: 8.984 kB / 0.6453 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.1735, allocations: 4 kB / 0.6453 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1738, allocations: 0.4914 MB / 0.6458 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.174, allocations: 139.1 kB / 0.6459 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.1741, allocations: 15.89 kB / 0.6459 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.1744, allocations: 35.97 kB / 0.6459 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.1745, allocations: 31.89 kB / 0.646 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1745, allocations: 19.98 kB / 0.646 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003059/0.1748, allocations: 455 kB / 0.6464 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1748, allocations: 0 / 0.6464 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009556/0.1758, allocations: 0.6547 MB / 0.6471 GB, free: 8.746 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.0002394/0.176, allocations: 157.2 kB / 0.6472 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.1765, allocations: 0.5069 MB / 0.6477 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/0.1766, allocations: 16.88 kB / 0.6477 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1767, allocations: 88.62 kB / 0.6478 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1777, allocations: 0.4953 MB / 0.6483 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1801, allocations: 2.019 MB / 0.6503 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.1803, allocations: 251.2 kB / 0.6505 GB, free: 5.141 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004997/0.1808, allocations: 208.3 kB / 0.6507 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.1814, allocations: 372.9 kB / 0.6511 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.1814, allocations: 0 / 0.6511 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.02044/0.2019, allocations: 18.27 MB / 0.6689 GB, free: 2.797 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.14501210488379]