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.0006556/0.0006556, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001553, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007301/0.0007301, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008936/0.001624, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9661/0.9661, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09558/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.945/1.945, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5213/2.466, allocations: 127.1 MB / 0.7432 GB, free: 4.582 MB / 0.7136 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.152e-06/1.152e-06, allocations: 0 / 0.7445 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.622e-05, allocations: 4.984 kB / 0.7445 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1441/0.1441, allocations: 151.8 MB / 0.8927 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007382/0.1515, allocations: 4.668 MB / 0.8973 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1526, allocations: 47.62 kB / 0.8973 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1534, allocations: 286 kB / 0.8976 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.156, allocations: 1.266 MB / 0.8988 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1579, allocations: 0.8998 MB / 0.8997 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1609, allocations: 2.566 MB / 0.9022 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.1623, allocations: 0.882 MB / 0.9031 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.1646, allocations: 1.621 MB / 0.9047 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009369/0.1655, allocations: 0.7907 MB / 0.9054 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.1657, allocations: 104 kB / 0.9055 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.1665, allocations: 439 kB / 0.906 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.1668, allocations: 486.8 kB / 0.9064 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.1672, allocations: 379.3 kB / 0.9068 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1685, allocations: 1.11 MB / 0.9079 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.2e-05/0.1685, allocations: 8 kB / 0.9079 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1685, allocations: 0 / 0.9079 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.1685, allocations: 0 / 0.9079 GB, free: 11.65 MB / 0.8855 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.001717/0.1702, allocations: 1.57 MB / 0.9094 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1703, allocations: 8.031 kB / 0.9094 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.1711, allocations: 392.9 kB / 0.9098 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.1721, allocations: 0.6246 MB / 0.9104 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.1721, allocations: 73.94 kB / 0.9105 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.1722, allocations: 99.95 kB / 0.9106 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.173, allocations: 0.8712 MB / 0.9114 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.173, allocations: 3.938 kB / 0.9114 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.173, allocations: 40 kB / 0.9115 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.1731, allocations: 34 kB / 0.9115 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.1734, allocations: 322 kB / 0.9118 GB, free: 7.445 MB / 0.8855 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.003065/0.1765, allocations: 3.402 MB / 0.9151 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.1768, allocations: 281.8 kB / 0.9154 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.177, allocations: 108.3 kB / 0.9155 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/0.1775, allocations: 60.44 kB / 0.9156 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1775, allocations: 39 kB / 0.9156 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 3.005e-06/0.1775, allocations: 4 kB / 0.9156 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.0005378/0.1781, allocations: 317.9 kB / 0.9159 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1781, allocations: 55.91 kB / 0.916 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.1785, allocations: 0.5544 MB / 0.9165 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1785, allocations: 37.7 kB / 0.9165 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1787, allocations: 457 kB / 0.917 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.1788, allocations: 178.4 kB / 0.9171 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1789, allocations: 142.5 kB / 0.9173 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1791, allocations: 390.6 kB / 0.9176 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.1792, allocations: 72.8 kB / 0.9177 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1795, allocations: 0.6472 MB / 0.9183 GB, free: 360 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.1798, allocations: 464.3 kB / 0.9188 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1799, allocations: 3.938 kB / 0.9188 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004557/0.1803, allocations: 435.8 kB / 0.9192 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1803, allocations: 15.94 kB / 0.9192 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1803, allocations: 8 kB / 0.9192 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1804, allocations: 12 kB / 0.9192 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.1808, allocations: 176.3 kB / 0.9194 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1808, allocations: 19.92 kB / 0.9194 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.1811, allocations: 79.3 kB / 0.9195 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1812, allocations: 24 kB / 0.9195 GB, free: 15.02 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.000175/0.1813, allocations: 168.3 kB / 0.9197 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1814, allocations: 67.92 kB / 0.9198 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.1818, allocations: 286.6 kB / 0.92 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1818, allocations: 4 kB / 0.92 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1818, allocations: 8 kB / 0.92 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001775/0.182, allocations: 192.3 kB / 0.9202 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.1829, allocations: 0.8919 MB / 0.9211 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1829, allocations: 7.938 kB / 0.9211 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.1833, allocations: 154.9 kB / 0.9212 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.1835, allocations: 111.4 kB / 0.9214 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1835, allocations: 4 kB / 0.9214 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1835, allocations: 15.94 kB / 0.9214 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.1835, allocations: 7.984 kB / 0.9214 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1836, allocations: 3.984 kB / 0.9214 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.1841, allocations: 0.528 MB / 0.9219 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.1841, allocations: 12 kB / 0.9219 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.1843, allocations: 20.55 kB / 0.9219 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1844, allocations: 35.83 kB / 0.922 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1844, allocations: 15.98 kB / 0.922 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005073/0.1849, allocations: 260.5 kB / 0.9222 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1849, allocations: 0 / 0.9222 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006233/0.1855, allocations: 311.3 kB / 0.9225 GB, free: 11.81 MB / 0.9011 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.0004121/0.1859, allocations: 163.1 kB / 0.9227 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.1863, allocations: 286.8 kB / 0.923 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.1863, allocations: 16.56 kB / 0.923 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1864, allocations: 133.4 kB / 0.9231 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009073/0.1873, allocations: 473.6 kB / 0.9235 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.1922, allocations: 1.633 MB / 0.9251 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.1924, allocations: 251.1 kB / 0.9254 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004324/0.1928, allocations: 130.4 kB / 0.9255 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.1934, allocations: 317 kB / 0.9258 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of SimCode: time 1.503e-06/0.1934, allocations: 0 / 0.9258 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of Templates: time 0.02038/0.2138, allocations: 16.17 MB / 0.9416 GB, free: 8.57 MB / 0.9167 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 & ./Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.587987745180726]