Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001321/0.001321, allocations: 80.88 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.0009461/0.0009461, 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 0.9853/0.9853, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.001751/0.001751, allocations: 247.2 kB / 260.5 MB, free: 12.71 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.7051/0.7051, 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.223e-05, allocations: 3.859 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.1721/0.1721, allocations: 151.2 MB / 0.5992 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006285/0.1784, allocations: 4.178 MB / 0.6033 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007634/0.1791, allocations: 55.56 kB / 0.6033 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007433/0.1799, allocations: 282 kB / 0.6036 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.1821, allocations: 1.286 MB / 0.6048 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1835, allocations: 0.8014 MB / 0.6056 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.1858, allocations: 2.571 MB / 0.6081 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009871/0.1868, allocations: 0.8395 MB / 0.609 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.189, allocations: 1.528 MB / 0.6104 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009986/0.19, allocations: 0.8151 MB / 0.6112 GB, free: 14.87 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.1902, allocations: 104 kB / 0.6113 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.1909, allocations: 431 kB / 0.6118 GB, free: 14.35 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.1912, allocations: 0.5376 MB / 0.6123 GB, free: 13.81 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.1916, allocations: 455 kB / 0.6127 GB, free: 13.36 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.193, allocations: 1.207 MB / 0.6139 GB, free: 12.15 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.193, allocations: 4 kB / 0.6139 GB, free: 12.15 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.193, allocations: 0 / 0.6139 GB, free: 12.15 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.193, allocations: 4 kB / 0.6139 GB, free: 12.14 MB / 0.573 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.001272/0.1943, allocations: 1.311 MB / 0.6152 GB, free: 10.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1943, allocations: 8.75 kB / 0.6152 GB, free: 10.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.195, allocations: 315.8 kB / 0.6155 GB, free: 10.49 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.1957, allocations: 0.6207 MB / 0.6161 GB, free: 9.836 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.1957, allocations: 70 kB / 0.6162 GB, free: 9.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.1958, allocations: 96 kB / 0.6163 GB, free: 9.676 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.1965, allocations: 0.8673 MB / 0.6171 GB, free: 8.703 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1965, allocations: 9.016 kB / 0.6171 GB, free: 8.695 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.1966, allocations: 36 kB / 0.6171 GB, free: 8.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.1966, allocations: 34.5 kB / 0.6172 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.197, allocations: 322 kB / 0.6175 GB, free: 8.309 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.002426/0.1994, allocations: 3.395 MB / 0.6208 GB, free: 4.809 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1997, allocations: 286.8 kB / 0.6211 GB, free: 4.523 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1998, allocations: 117.6 kB / 0.6212 GB, free: 4.406 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.2, allocations: 56.39 kB / 0.6212 GB, free: 4.348 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2, allocations: 43.05 kB / 0.6213 GB, free: 4.297 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 1.433e-06/0.2, allocations: 0 / 0.6213 GB, free: 4.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.0004865/0.2005, allocations: 310 kB / 0.6216 GB, free: 3.992 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2005, allocations: 59.89 kB / 0.6216 GB, free: 3.922 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.2008, allocations: 0.5583 MB / 0.6222 GB, free: 3.352 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.2008, allocations: 37.7 kB / 0.6222 GB, free: 3.309 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.201, allocations: 453 kB / 0.6226 GB, free: 2.859 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.2011, allocations: 190.3 kB / 0.6228 GB, free: 2.672 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2012, allocations: 138.5 kB / 0.623 GB, free: 2.531 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2014, allocations: 390.6 kB / 0.6233 GB, free: 2.141 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.2015, allocations: 76.73 kB / 0.6234 GB, free: 2.062 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.2018, allocations: 0.6364 MB / 0.624 GB, free: 1.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2021, allocations: 460.8 kB / 0.6245 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2021, allocations: 7.938 kB / 0.6245 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003931/0.2025, allocations: 432 kB / 0.6249 GB, free: 244 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2025, allocations: 14.02 kB / 0.6249 GB, free: 232 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2025, allocations: 8 kB / 0.6249 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2025, allocations: 12 kB / 0.6249 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.2028, allocations: 152.4 kB / 0.6251 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2028, allocations: 15.94 kB / 0.6251 GB, free: 44 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.2031, allocations: 75.98 kB / 0.6252 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.2031, allocations: 32 kB / 0.6252 GB, free: 15.93 MB / 0.5886 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.0001463/0.2033, allocations: 164.2 kB / 0.6253 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.2033, allocations: 70.36 kB / 0.6254 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.2036, allocations: 286.6 kB / 0.6257 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2036, allocations: 4 kB / 0.6257 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2036, allocations: 0 / 0.6257 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001757/0.2038, allocations: 192.3 kB / 0.6259 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2049, allocations: 0.9046 MB / 0.6267 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2049, allocations: 4 kB / 0.6268 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.2052, allocations: 103.9 kB / 0.6269 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2052, allocations: 5.375 kB / 0.6269 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2052, allocations: 12 kB / 0.6269 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2052, allocations: 4 kB / 0.6269 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2052, allocations: 12.16 kB / 0.6269 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.2056, allocations: 0.5259 MB / 0.6274 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.2057, allocations: 116 kB / 0.6275 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.2058, allocations: 12 kB / 0.6275 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.206, allocations: 17.11 kB / 0.6275 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.206, allocations: 43.75 kB / 0.6276 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.206, allocations: 12.5 kB / 0.6276 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2062, allocations: 260.5 kB / 0.6278 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.2062, allocations: 0 / 0.6278 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005097/0.2067, allocations: 307.3 kB / 0.6281 GB, free: 12.79 MB / 0.5886 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.0003383/0.2071, allocations: 169 kB / 0.6283 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.2074, allocations: 297 kB / 0.6286 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.2074, allocations: 9.25 kB / 0.6286 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2075, allocations: 135.3 kB / 0.6287 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.2083, allocations: 407.2 kB / 0.6291 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.21, allocations: 1.547 MB / 0.6306 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2102, allocations: 243 kB / 0.6308 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.2105, allocations: 127.1 kB / 0.631 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/0.211, allocations: 325 kB / 0.6313 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.211, allocations: 0 / 0.6313 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of Templates: time 0.01717/0.2281, allocations: 15.38 MB / 0.6463 GB, free: 10.66 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.082534331828356]