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.001085/0.001085, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003953/0.003953, allocations: 166.4 kB / 24.38 MB, free: 8.473 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.029/1.029, allocations: 177.2 MB / 204.8 MB, free: 5.41 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 2.022/2.022, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 177] 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 2.324e-06/2.324e-06, allocations: 0 / 0.7756 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.925e-05, allocations: 3.5 kB / 0.7756 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1623/0.1624, allocations: 151.3 MB / 0.9234 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006022/0.1684, allocations: 4.137 MB / 0.9274 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.1691, allocations: 47.62 kB / 0.9275 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.1699, allocations: 289.9 kB / 0.9278 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.1719, allocations: 1.27 MB / 0.929 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1734, allocations: 0.7714 MB / 0.9297 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.1755, allocations: 2.541 MB / 0.9322 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.1768, allocations: 0.8772 MB / 0.9331 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.1786, allocations: 1.519 MB / 0.9346 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.1794, allocations: 0.7985 MB / 0.9353 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1795, allocations: 108 kB / 0.9354 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.1802, allocations: 439 kB / 0.9359 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.1805, allocations: 0.5338 MB / 0.9364 GB, free: 144 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.1809, allocations: 459 kB / 0.9368 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.182, allocations: 1.211 MB / 0.938 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.182, allocations: 0 / 0.938 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.182, allocations: 0 / 0.938 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1821, allocations: 4 kB / 0.938 GB, free: 14.47 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.001231/0.1833, allocations: 1.32 MB / 0.9393 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1833, allocations: 9.344 kB / 0.9393 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.184, allocations: 307.8 kB / 0.9396 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.1848, allocations: 0.6207 MB / 0.9402 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.1848, allocations: 70 kB / 0.9403 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.1849, allocations: 99.95 kB / 0.9404 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.1856, allocations: 0.8673 MB / 0.9412 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1856, allocations: 0 / 0.9412 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.1857, allocations: 40 kB / 0.9413 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.1857, allocations: 34 kB / 0.9413 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.186, allocations: 318 kB / 0.9416 GB, free: 10.64 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.002449/0.1885, allocations: 3.394 MB / 0.9449 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.1888, allocations: 289.2 kB / 0.9452 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1889, allocations: 121.7 kB / 0.9453 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.1891, allocations: 48.45 kB / 0.9453 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1891, allocations: 47.05 kB / 0.9454 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 1.824e-06/0.1891, allocations: 0 / 0.9454 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0004748/0.1896, allocations: 314 kB / 0.9457 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1896, allocations: 59.89 kB / 0.9457 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.19, allocations: 0.5661 MB / 0.9463 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.19, allocations: 33.7 kB / 0.9463 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1902, allocations: 449 kB / 0.9468 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.1903, allocations: 186.4 kB / 0.9469 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1904, allocations: 134.5 kB / 0.9471 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1905, allocations: 390.6 kB / 0.9474 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.1906, allocations: 72.8 kB / 0.9475 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.1909, allocations: 0.6395 MB / 0.9481 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.1912, allocations: 472.2 kB / 0.9486 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1912, allocations: 11.88 kB / 0.9486 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000412/0.1917, allocations: 432 kB / 0.949 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1917, allocations: 11.98 kB / 0.949 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1917, allocations: 8 kB / 0.949 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1917, allocations: 12 kB / 0.949 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.1921, allocations: 163.7 kB / 0.9492 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1921, allocations: 15.94 kB / 0.9492 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1923, allocations: 79.84 kB / 0.9493 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.1924, allocations: 31.98 kB / 0.9493 GB, free: 2.203 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.0001484/0.1925, allocations: 164.3 kB / 0.9495 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.1926, allocations: 63.94 kB / 0.9495 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.1929, allocations: 282.7 kB / 0.9498 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1929, allocations: 4 kB / 0.9498 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1929, allocations: 0 / 0.9498 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000171/0.1931, allocations: 208.2 kB / 0.95 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008931/0.194, allocations: 0.8996 MB / 0.9509 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.194, allocations: 0 / 0.9509 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.1944, allocations: 137.9 kB / 0.951 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.1944, allocations: 12.2 kB / 0.951 GB, free: 376 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1944, allocations: 8 kB / 0.951 GB, free: 368 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1944, allocations: 7.938 kB / 0.951 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1944, allocations: 7.938 kB / 0.951 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1949, allocations: 0.528 MB / 0.9516 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1951, allocations: 115.3 kB / 0.9517 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.1951, allocations: 8 kB / 0.9517 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1953, allocations: 19.98 kB / 0.9517 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1953, allocations: 35.88 kB / 0.9517 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1954, allocations: 16 kB / 0.9518 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001709/0.1955, allocations: 260.5 kB / 0.952 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1955, allocations: 0 / 0.952 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004946/0.196, allocations: 307.3 kB / 0.9523 GB, free: 15.02 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.0003555/0.1964, allocations: 178.1 kB / 0.9525 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.1967, allocations: 282.3 kB / 0.9527 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.1967, allocations: 8.5 kB / 0.9527 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1968, allocations: 134.1 kB / 0.9529 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.1976, allocations: 394 kB / 0.9532 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1994, allocations: 1.559 MB / 0.9548 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.1995, allocations: 239.1 kB / 0.955 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.1999, allocations: 126.5 kB / 0.9551 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.2003, allocations: 325.1 kB / 0.9554 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.2003, allocations: 0 / 0.9554 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of Templates: time 0.01884/0.2192, allocations: 15.32 MB / 0.9704 GB, free: 12.79 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.838569107465446]