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.0009801/0.0009801, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009483/0.0009483, allocations: 165 kB / 24.25 MB, free: 208 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.978/0.978, allocations: 177.2 MB / 204.7 MB, free: 5.449 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.89/1.89, allocations: 389.6 MB / 0.6355 GB, free: 12.24 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.954e-06/1.954e-06, allocations: 0 / 0.7754 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.447e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1457/0.1457, allocations: 151.3 MB / 0.9232 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00509/0.1508, allocations: 4.131 MB / 0.9272 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.1511, allocations: 55.56 kB / 0.9273 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.1518, allocations: 285.9 kB / 0.9275 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1536, allocations: 1.278 MB / 0.9288 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.1545, allocations: 0.7637 MB / 0.9295 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1563, allocations: 2.536 MB / 0.932 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.1573, allocations: 0.8835 MB / 0.9329 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.1588, allocations: 1.523 MB / 0.9344 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.1595, allocations: 0.8024 MB / 0.9351 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000323/0.1598, allocations: 104 kB / 0.9352 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.1604, allocations: 443 kB / 0.9357 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.1607, allocations: 0.5338 MB / 0.9362 GB, free: 240 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.161, allocations: 459 kB / 0.9366 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0009807/0.162, allocations: 1.211 MB / 0.9378 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.162, allocations: 4 kB / 0.9378 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.162, allocations: 4 kB / 0.9378 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.162, allocations: 4 kB / 0.9378 GB, free: 14.56 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.001166/0.1632, allocations: 1.308 MB / 0.9391 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1632, allocations: 9.344 kB / 0.9391 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.1639, allocations: 315.8 kB / 0.9394 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.1647, allocations: 0.6168 MB / 0.94 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1647, allocations: 66 kB / 0.9401 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.1648, allocations: 99.94 kB / 0.9402 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.1656, allocations: 0.8674 MB / 0.941 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1656, allocations: 3.938 kB / 0.941 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1657, allocations: 40 kB / 0.9411 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.1657, allocations: 37.98 kB / 0.9411 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.1661, allocations: 318 kB / 0.9414 GB, free: 10.73 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.002441/0.1685, allocations: 3.41 MB / 0.9447 GB, free: 7.195 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.1688, allocations: 273.2 kB / 0.945 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1689, allocations: 109.7 kB / 0.9451 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.1691, allocations: 64.44 kB / 0.9451 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1691, allocations: 43 kB / 0.9452 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=49): time 2.484e-06/0.1691, allocations: 0 / 0.9452 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49): time 0.0004486/0.1695, allocations: 314 kB / 0.9455 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1696, allocations: 59.91 kB / 0.9455 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.1699, allocations: 0.5621 MB / 0.9461 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.17, allocations: 37.7 kB / 0.9461 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1701, allocations: 449 kB / 0.9466 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.1702, allocations: 186.4 kB / 0.9467 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1704, allocations: 134.5 kB / 0.9469 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1705, allocations: 390.6 kB / 0.9472 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.1706, allocations: 76.8 kB / 0.9473 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.1709, allocations: 0.6433 MB / 0.9479 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.1712, allocations: 468.3 kB / 0.9484 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1712, allocations: 7.938 kB / 0.9484 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004101/0.1716, allocations: 435.8 kB / 0.9488 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1716, allocations: 8 kB / 0.9488 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1716, allocations: 8 kB / 0.9488 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1716, allocations: 12 kB / 0.9488 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.172, allocations: 159.7 kB / 0.949 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.172, allocations: 16.44 kB / 0.949 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1723, allocations: 83.45 kB / 0.9491 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.1723, allocations: 28 kB / 0.9491 GB, free: 2.293 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.0001511/0.1725, allocations: 168.3 kB / 0.9493 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.1725, allocations: 63.92 kB / 0.9493 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1728, allocations: 290.6 kB / 0.9496 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1728, allocations: 4 kB / 0.9496 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1728, allocations: 4 kB / 0.9496 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001676/0.173, allocations: 200.2 kB / 0.9498 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.1739, allocations: 0.8956 MB / 0.9507 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1739, allocations: 4 kB / 0.9507 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.1742, allocations: 142.9 kB / 0.9508 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1742, allocations: 4 kB / 0.9508 GB, free: 460 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1743, allocations: 12 kB / 0.9508 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1743, allocations: 4 kB / 0.9508 GB, free: 444 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1743, allocations: 7.938 kB / 0.9508 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1747, allocations: 0.528 MB / 0.9514 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1748, allocations: 111.3 kB / 0.9515 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.1749, allocations: 19.98 kB / 0.9515 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1751, allocations: 12 kB / 0.9515 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1751, allocations: 43.81 kB / 0.9515 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1751, allocations: 12 kB / 0.9516 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001683/0.1753, allocations: 256.6 kB / 0.9518 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1753, allocations: 0 / 0.9518 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000452/0.1757, allocations: 303.3 kB / 0.9521 GB, free: 15.11 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.0003213/0.1761, allocations: 172.8 kB / 0.9523 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1764, allocations: 282.8 kB / 0.9525 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.1764, allocations: 8.5 kB / 0.9525 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.1766, allocations: 137.4 kB / 0.9527 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.1774, allocations: 390.4 kB / 0.953 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.179, allocations: 1.562 MB / 0.9546 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.1792, allocations: 243 kB / 0.9548 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.1795, allocations: 126.4 kB / 0.9549 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.18, allocations: 325 kB / 0.9552 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.02e-07/0.18, allocations: 0 / 0.9552 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.01705/0.197, allocations: 15.3 MB / 0.9702 GB, free: 12.89 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 & ./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.567419006489217]