Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.0008843/0.0008843, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009081/0.0009081, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 0.9342/0.9342, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.182e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1446/0.1446, allocations: 151.3 MB / 0.923 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.1506, allocations: 4.154 MB / 0.9271 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/0.1514, allocations: 55.56 kB / 0.9271 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1524, allocations: 282 kB / 0.9274 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1545, allocations: 1.274 MB / 0.9286 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1559, allocations: 0.7753 MB / 0.9294 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.1582, allocations: 2.544 MB / 0.9319 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.1596, allocations: 0.8785 MB / 0.9327 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1617, allocations: 1.521 MB / 0.9342 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.163, allocations: 0.7868 MB / 0.935 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1631, allocations: 108 kB / 0.9351 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.1638, allocations: 439 kB / 0.9355 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.1642, allocations: 0.5415 MB / 0.936 GB, free: 352 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.1647, allocations: 455.1 kB / 0.9365 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1662, allocations: 1.211 MB / 0.9377 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1662, allocations: 4 kB / 0.9377 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1662, allocations: 0 / 0.9377 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.1662, allocations: 0 / 0.9377 GB, free: 14.68 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001353/0.1676, allocations: 1.312 MB / 0.9389 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1676, allocations: 9.344 kB / 0.939 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.1683, allocations: 315.9 kB / 0.9393 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.1691, allocations: 0.6206 MB / 0.9399 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.1691, allocations: 74 kB / 0.9399 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.1692, allocations: 95.95 kB / 0.94 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.1699, allocations: 0.8673 MB / 0.9409 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.17, allocations: 4 kB / 0.9409 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.17, allocations: 36 kB / 0.9409 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.1701, allocations: 41.92 kB / 0.941 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.1704, allocations: 314 kB / 0.9413 GB, free: 10.84 MB / 0.9011 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.0027/0.1731, allocations: 3.41 MB / 0.9446 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.1736, allocations: 281.2 kB / 0.9448 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1737, allocations: 113.7 kB / 0.945 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.1739, allocations: 52.44 kB / 0.945 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1739, allocations: 43.06 kB / 0.945 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.1739, allocations: 0 / 0.945 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0005729/0.1745, allocations: 321.9 kB / 0.9454 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1745, allocations: 55.91 kB / 0.9454 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1749, allocations: 0.5583 MB / 0.946 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1749, allocations: 37.7 kB / 0.946 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1751, allocations: 453 kB / 0.9464 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1752, allocations: 186.4 kB / 0.9466 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1753, allocations: 134.5 kB / 0.9467 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1754, allocations: 390.6 kB / 0.9471 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.296e-05/0.1755, allocations: 76.8 kB / 0.9472 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.1758, allocations: 0.6433 MB / 0.9478 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.1764, allocations: 468.1 kB / 0.9482 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1764, allocations: 7.938 kB / 0.9483 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004271/0.1769, allocations: 439.8 kB / 0.9487 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1769, allocations: 8 kB / 0.9487 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1769, allocations: 8 kB / 0.9487 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1769, allocations: 12 kB / 0.9487 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.1773, allocations: 160.3 kB / 0.9489 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1773, allocations: 15.94 kB / 0.9489 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.1776, allocations: 83.45 kB / 0.9489 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1777, allocations: 28 kB / 0.949 GB, free: 2.398 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0001665/0.1778, allocations: 164.4 kB / 0.9491 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.1779, allocations: 63.92 kB / 0.9492 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.1782, allocations: 282.7 kB / 0.9495 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1782, allocations: 4 kB / 0.9495 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1782, allocations: 0 / 0.9495 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/0.1784, allocations: 204.2 kB / 0.9497 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.1794, allocations: 0.9034 MB / 0.9505 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1794, allocations: 0 / 0.9505 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.1797, allocations: 142.9 kB / 0.9507 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1797, allocations: 7.938 kB / 0.9507 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1798, allocations: 12 kB / 0.9507 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1798, allocations: 4 kB / 0.9507 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1798, allocations: 7.938 kB / 0.9507 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.1802, allocations: 0.5318 MB / 0.9512 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.1804, allocations: 111.3 kB / 0.9513 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.1804, allocations: 15.98 kB / 0.9514 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1806, allocations: 8 kB / 0.9514 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1806, allocations: 39.88 kB / 0.9514 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1807, allocations: 12 kB / 0.9514 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001833/0.1808, allocations: 260.5 kB / 0.9517 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1808, allocations: 0 / 0.9517 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005582/0.1814, allocations: 311.3 kB / 0.952 GB, free: 15.21 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003406/0.1817, allocations: 166.3 kB / 0.9521 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1821, allocations: 290.8 kB / 0.9524 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.1821, allocations: 8.5 kB / 0.9524 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1822, allocations: 133.5 kB / 0.9525 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.1831, allocations: 395.4 kB / 0.9529 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1849, allocations: 1.551 MB / 0.9544 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1851, allocations: 239.1 kB / 0.9546 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.1854, allocations: 130.4 kB / 0.9548 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/0.1862, allocations: 321.1 kB / 0.9551 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/0.1862, allocations: 0 / 0.9551 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.01944/0.2057, allocations: 15.31 MB / 0.97 GB, free: 13 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.466711048036814]