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.0006325/0.0006325, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009042/0.001537, allocations: 449.8 kB / 10.44 MB, free: 248 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.0006784/0.0006784, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009082/0.001587, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.987/0.987, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08633/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.902/1.902, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5163/2.418, allocations: 127.1 MB / 0.7435 GB, free: 4.547 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.402e-06/1.402e-06, allocations: 0 / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.191e-05, allocations: 3.484 kB / 0.7448 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1378/0.1378, allocations: 151.8 MB / 0.8931 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00686/0.1447, allocations: 4.662 MB / 0.8976 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.1453, allocations: 47.62 kB / 0.8977 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.146, allocations: 293.8 kB / 0.8979 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.1481, allocations: 1.267 MB / 0.8992 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1496, allocations: 0.8997 MB / 0.9001 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.1522, allocations: 2.553 MB / 0.9026 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.1535, allocations: 0.8946 MB / 0.9034 GB, free: 444 kB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.1556, allocations: 1.599 MB / 0.905 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.1564, allocations: 0.7908 MB / 0.9058 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1566, allocations: 104 kB / 0.9059 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.1573, allocations: 451 kB / 0.9063 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.1577, allocations: 478.9 kB / 0.9067 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.1581, allocations: 379.3 kB / 0.9071 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1593, allocations: 1.106 MB / 0.9082 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.1593, allocations: 4 kB / 0.9082 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1593, allocations: 4 kB / 0.9082 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.1593, allocations: 0 / 0.9082 GB, free: 11.61 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.001814/0.1611, allocations: 1.574 MB / 0.9097 GB, free: 10 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1612, allocations: 8.031 kB / 0.9097 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.1621, allocations: 392.9 kB / 0.9101 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.163, allocations: 0.6246 MB / 0.9107 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.163, allocations: 66 kB / 0.9108 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1631, allocations: 103.9 kB / 0.9109 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009871/0.1641, allocations: 0.8635 MB / 0.9117 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1642, allocations: 0 / 0.9117 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.1642, allocations: 43.98 kB / 0.9118 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.1643, allocations: 34 kB / 0.9118 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.1647, allocations: 321.9 kB / 0.9121 GB, free: 7.41 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.003165/0.1679, allocations: 3.406 MB / 0.9154 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1683, allocations: 289.2 kB / 0.9157 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1684, allocations: 109.7 kB / 0.9158 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.1686, allocations: 56.44 kB / 0.9159 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1687, allocations: 39.06 kB / 0.9159 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.1687, allocations: 0 / 0.9159 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.0006045/0.1693, allocations: 317.9 kB / 0.9162 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1693, allocations: 59.91 kB / 0.9163 GB, free: 3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.1697, allocations: 0.5622 MB / 0.9168 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1698, allocations: 37.7 kB / 0.9169 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.17, allocations: 449 kB / 0.9173 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1701, allocations: 182.4 kB / 0.9175 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1702, allocations: 138.5 kB / 0.9176 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1704, allocations: 390.5 kB / 0.918 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1705, allocations: 72.8 kB / 0.918 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.1709, allocations: 0.6394 MB / 0.9187 GB, free: 324 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.1714, allocations: 0.4884 MB / 0.9191 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1714, allocations: 7.938 kB / 0.9191 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005686/0.172, allocations: 432.1 kB / 0.9196 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.172, allocations: 8 kB / 0.9196 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.172, allocations: 8 kB / 0.9196 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.172, allocations: 12 kB / 0.9196 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.1725, allocations: 179.7 kB / 0.9198 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.1726, allocations: 15.94 kB / 0.9198 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.1729, allocations: 79.55 kB / 0.9198 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.173, allocations: 27.98 kB / 0.9199 GB, free: 14.95 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.0001743/0.1732, allocations: 168.3 kB / 0.92 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.1733, allocations: 63.94 kB / 0.9201 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.1737, allocations: 282.7 kB / 0.9204 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1737, allocations: 7.984 kB / 0.9204 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1737, allocations: 0 / 0.9204 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002318/0.1739, allocations: 200.2 kB / 0.9206 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1754, allocations: 0.8997 MB / 0.9214 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1754, allocations: 4 kB / 0.9214 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.1759, allocations: 146.7 kB / 0.9216 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.176, allocations: 115.6 kB / 0.9217 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.176, allocations: 4 kB / 0.9217 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1761, allocations: 11.94 kB / 0.9217 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.1761, allocations: 7.938 kB / 0.9217 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1761, allocations: 11.98 kB / 0.9217 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.1765, allocations: 0.5358 MB / 0.9222 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.1765, allocations: 12 kB / 0.9223 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1767, allocations: 8 kB / 0.9223 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.1768, allocations: 35.88 kB / 0.9223 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1768, allocations: 16 kB / 0.9223 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001706/0.177, allocations: 256.6 kB / 0.9226 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 3.938 kB / 0.9226 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004295/0.1774, allocations: 315.3 kB / 0.9229 GB, free: 11.74 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.0003054/0.1777, allocations: 162.1 kB / 0.923 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.178, allocations: 296.3 kB / 0.9233 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.178, allocations: 12.5 kB / 0.9233 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1782, allocations: 165.7 kB / 0.9235 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.1802, allocations: 2.518 MB / 0.9259 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.1869, allocations: 1.636 MB / 0.9275 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1872, allocations: 239.1 kB / 0.9278 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007102/0.1879, allocations: 130.7 kB / 0.9279 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009799/0.1889, allocations: 329.1 kB / 0.9282 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of SimCode: time 1.623e-06/0.1889, allocations: 0 / 0.9282 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of Templates: time 0.02808/0.217, allocations: 16.03 MB / 0.9438 GB, free: 6.074 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.307509926147759]