Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.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.001185/0.001185, 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.00136/0.00136, 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.098/1.098, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.002619/0.002619, allocations: 245.3 kB / 260.5 MB, free: 12.68 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.7127/0.7127, allocations: 138.4 MB / 402.2 MB, free: 0.5 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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.64e-05, allocations: 4.953 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.1338/0.1339, allocations: 148.7 MB / 0.5967 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00529/0.1392, allocations: 3.849 MB / 0.6004 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.1397, allocations: 39.62 kB / 0.6004 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.1403, allocations: 214.4 kB / 0.6007 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1418, allocations: 0.9207 MB / 0.6016 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.1432, allocations: 0.7809 MB / 0.6023 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.1452, allocations: 1.842 MB / 0.6041 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006785/0.1459, allocations: 492.4 kB / 0.6046 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.1475, allocations: 0.9948 MB / 0.6056 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.1481, allocations: 478.5 kB / 0.606 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.1481, allocations: 56 kB / 0.6061 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.1491, allocations: 0.6002 MB / 0.6066 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.1493, allocations: 291.1 kB / 0.6069 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1495, allocations: 275.4 kB / 0.6072 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1507, allocations: 0.9149 MB / 0.6081 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1507, allocations: 4 kB / 0.6081 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1507, allocations: 0 / 0.6081 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.1507, allocations: 4 kB / 0.6081 GB, free: 2.023 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001173/0.1519, allocations: 0.953 MB / 0.609 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.152, allocations: 12.75 kB / 0.609 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.1526, allocations: 237.1 kB / 0.6093 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.1532, allocations: 0.4916 MB / 0.6097 GB, free: 292 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1532, allocations: 37 kB / 0.6098 GB, free: 252 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.1533, allocations: 52 kB / 0.6098 GB, free: 200 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1538, allocations: 460.7 kB / 0.6103 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1539, allocations: 0 / 0.6103 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.1539, allocations: 20 kB / 0.6103 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.1539, allocations: 17 kB / 0.6103 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.1541, allocations: 125.2 kB / 0.6104 GB, free: 15.55 MB / 0.573 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.001502/0.1556, allocations: 0.972 MB / 0.6114 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1559, allocations: 223.2 kB / 0.6116 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.156, allocations: 79.09 kB / 0.6117 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.1561, allocations: 24.27 kB / 0.6117 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1561, allocations: 38.84 kB / 0.6117 GB, free: 14.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.1561, allocations: 3.938 kB / 0.6117 GB, free: 14.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.0003984/0.1565, allocations: 230.8 kB / 0.6119 GB, free: 13.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1565, allocations: 55.41 kB / 0.612 GB, free: 13.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1567, allocations: 407.3 kB / 0.6124 GB, free: 13.47 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1568, allocations: 33.7 kB / 0.6124 GB, free: 13.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1569, allocations: 249.6 kB / 0.6127 GB, free: 13.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.157, allocations: 122.9 kB / 0.6128 GB, free: 13.06 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.157, allocations: 69.94 kB / 0.6128 GB, free: 12.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1572, allocations: 370.6 kB / 0.6132 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.1573, allocations: 44.98 kB / 0.6132 GB, free: 12.57 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1574, allocations: 259.3 kB / 0.6135 GB, free: 12.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1575, allocations: 146.2 kB / 0.6136 GB, free: 12.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1575, allocations: 0 / 0.6136 GB, free: 12.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002121/0.1578, allocations: 190.7 kB / 0.6138 GB, free: 11.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1578, allocations: 5.719 kB / 0.6138 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1578, allocations: 4.781 kB / 0.6138 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1578, allocations: 0 / 0.6138 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.158, allocations: 72 kB / 0.6139 GB, free: 11.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.158, allocations: 7.984 kB / 0.6139 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1581, allocations: 23.83 kB / 0.6139 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1581, allocations: 12 kB / 0.6139 GB, free: 11.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001178/0.1583, allocations: 125.8 kB / 0.614 GB, free: 11.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001151/0.1584, allocations: 253.7 kB / 0.6143 GB, free: 11.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001308/0.1585, allocations: 143.6 kB / 0.6144 GB, free: 11.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.1585, allocations: 8.484 kB / 0.6144 GB, free: 11.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0001893/0.1587, allocations: 192.1 kB / 0.6146 GB, free: 11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.1587, allocations: 4 kB / 0.6146 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.1587, allocations: 0 / 0.6146 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.1587, allocations: 4 kB / 0.6146 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1589, allocations: 63.91 kB / 0.6147 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1589, allocations: 0 / 0.6147 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.159, allocations: 33.72 kB / 0.6147 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.159, allocations: 4.953 kB / 0.6147 GB, free: 10.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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 9.551e-05/0.1591, allocations: 208.1 kB / 0.6149 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1592, allocations: 47.94 kB / 0.615 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1594, allocations: 196.6 kB / 0.6151 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1594, allocations: 7.938 kB / 0.6152 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1594, allocations: 0 / 0.6152 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001433/0.1596, allocations: 232.5 kB / 0.6154 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.1602, allocations: 0.6767 MB / 0.616 GB, free: 9.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1602, allocations: 0 / 0.616 GB, free: 9.445 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.1604, allocations: 71.91 kB / 0.6161 GB, free: 9.375 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1604, allocations: 4 kB / 0.6161 GB, free: 9.371 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1604, allocations: 11.98 kB / 0.6161 GB, free: 9.359 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1604, allocations: 4.562 kB / 0.6161 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1604, allocations: 0 / 0.6161 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.1609, allocations: 432.7 kB / 0.6165 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.161, allocations: 71.75 kB / 0.6166 GB, free: 8.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1611, allocations: 11.98 kB / 0.6166 GB, free: 8.809 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1612, allocations: 20.5 kB / 0.6166 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1613, allocations: 23.89 kB / 0.6167 GB, free: 8.766 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1613, allocations: 8 kB / 0.6167 GB, free: 8.758 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000133/0.1614, allocations: 188.4 kB / 0.6168 GB, free: 8.574 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 0.6168 GB, free: 8.574 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004512/0.1619, allocations: 335.3 kB / 0.6172 GB, free: 8.246 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0002075/0.1621, allocations: 142.4 kB / 0.6173 GB, free: 8.102 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.1624, allocations: 228.4 kB / 0.6175 GB, free: 7.875 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.1624, allocations: 4 kB / 0.6175 GB, free: 7.871 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.1625, allocations: 84.67 kB / 0.6176 GB, free: 7.785 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.1632, allocations: 338.8 kB / 0.6179 GB, free: 7.477 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1645, allocations: 1.04 MB / 0.6189 GB, free: 6.387 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.777e-05/0.1646, allocations: 158.3 kB / 0.6191 GB, free: 6.211 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.1648, allocations: 103.8 kB / 0.6192 GB, free: 6.121 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.1653, allocations: 259.1 kB / 0.6194 GB, free: 5.867 MB / 0.573 GB Notification: Performance of SimCode: time 1.012e-06/0.1653, allocations: 0 / 0.6194 GB, free: 5.867 MB / 0.573 GB Notification: Performance of Templates: time 0.01493/0.1802, allocations: 12.12 MB / 0.6313 GB, free: 10.16 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.02310079196468]