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.005267/0.005267, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002649/0.002649, allocations: 213 kB / 23.02 MB, free: 2.949 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 1.729/1.729, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.464/3.464, allocations: 0.5045 GB / 0.8104 GB, free: 2.824 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003848/0.003848, allocations: 71.88 kB / 1.177 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.024, allocations: 180 MB / 1.353 GB, free: 1.695 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2506/1.275, allocations: 172.7 MB / 1.522 GB, free: 4.348 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.0224/1.297, allocations: 13.13 MB / 1.534 GB, free: 7.18 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.299, allocations: 47.62 kB / 1.534 GB, free: 7.133 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/1.301, allocations: 0.489 MB / 1.535 GB, free: 6.641 MB / 1.214 GB Notification: Performance of NFTyping.typeBindings: time 0.00571/1.306, allocations: 1.947 MB / 1.537 GB, free: 4.688 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/1.309, allocations: 0.8793 MB / 1.538 GB, free: 3.812 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.003989/1.313, allocations: 2.585 MB / 1.54 GB, free: 1.219 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/1.314, allocations: 0.7616 MB / 1.541 GB, free: 444 kB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/1.32, allocations: 1.884 MB / 1.543 GB, free: 14.56 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/1.323, allocations: 0.9321 MB / 1.544 GB, free: 13.63 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/1.323, allocations: 108 kB / 1.544 GB, free: 13.52 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/1.325, allocations: 0.9157 MB / 1.545 GB, free: 12.61 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/1.326, allocations: 0.5103 MB / 1.545 GB, free: 12.09 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.0007423/1.327, allocations: 0.5329 MB / 1.546 GB, free: 11.56 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/1.33, allocations: 1.896 MB / 1.548 GB, free: 9.656 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.33, allocations: 4 kB / 1.548 GB, free: 9.652 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.703e-06/1.33, allocations: 0 / 1.548 GB, free: 9.652 MB / 1.229 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.33, allocations: 0 / 1.548 GB, free: 9.652 MB / 1.229 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.002537/1.332, allocations: 1.407 MB / 1.549 GB, free: 8.211 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.332, allocations: 12.92 kB / 1.549 GB, free: 8.199 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/1.334, allocations: 259 kB / 1.549 GB, free: 7.945 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.335, allocations: 0.7284 MB / 1.55 GB, free: 7.188 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/1.335, allocations: 70 kB / 1.55 GB, free: 7.121 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/1.335, allocations: 95.94 kB / 1.55 GB, free: 7.027 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.337, allocations: 1.298 MB / 1.551 GB, free: 5.625 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.337, allocations: 0 / 1.551 GB, free: 5.625 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/1.338, allocations: 39.94 kB / 1.551 GB, free: 5.586 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/1.338, allocations: 34 kB / 1.551 GB, free: 5.555 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/1.339, allocations: 0.9054 MB / 1.552 GB, free: 4.645 MB / 1.229 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.005691/1.345, allocations: 3.986 MB / 1.556 GB, free: 0.543 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/1.346, allocations: 0.5117 MB / 1.557 GB, free: 24 kB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/1.346, allocations: 298.7 kB / 1.557 GB, free: 15.72 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/1.347, allocations: 80.34 kB / 1.557 GB, free: 15.64 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.347, allocations: 42.92 kB / 1.557 GB, free: 15.59 MB / 1.245 GB Notification: Performance of pre-optimization done (n=49): time 2.715e-06/1.347, allocations: 0 / 1.557 GB, free: 15.59 MB / 1.245 GB Notification: Performance of matching and sorting (n=49): time 0.001825/1.349, allocations: 0.7953 MB / 1.558 GB, free: 14.8 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.349, allocations: 59.84 kB / 1.558 GB, free: 14.72 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/1.35, allocations: 0.6604 MB / 1.559 GB, free: 14.05 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/1.35, allocations: 37.7 kB / 1.559 GB, free: 14.01 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/1.35, allocations: 0.5154 MB / 1.559 GB, free: 13.49 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.351, allocations: 190.4 kB / 1.559 GB, free: 13.3 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.351, allocations: 142.6 kB / 1.559 GB, free: 13.16 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002589/1.351, allocations: 394.6 kB / 1.56 GB, free: 12.77 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/1.351, allocations: 241.9 kB / 1.56 GB, free: 12.53 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009766/1.352, allocations: 0.8463 MB / 1.561 GB, free: 11.48 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.354, allocations: 0.7918 MB / 1.562 GB, free: 10.58 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.354, allocations: 4 kB / 1.562 GB, free: 10.58 MB / 1.245 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001458/1.355, allocations: 0.8391 MB / 1.562 GB, free: 9.73 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/1.355, allocations: 8 kB / 1.562 GB, free: 9.723 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.355, allocations: 8 kB / 1.562 GB, free: 9.715 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/1.355, allocations: 12 kB / 1.562 GB, free: 9.703 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/1.356, allocations: 159.7 kB / 1.563 GB, free: 9.547 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.356, allocations: 15.94 kB / 1.563 GB, free: 9.531 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/1.356, allocations: 83.97 kB / 1.563 GB, free: 9.449 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/1.357, allocations: 39.98 kB / 1.563 GB, free: 9.41 MB / 1.245 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.000532/1.357, allocations: 333.4 kB / 1.563 GB, free: 9.074 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.357, allocations: 83.48 kB / 1.563 GB, free: 8.992 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/1.358, allocations: 0.6093 MB / 1.564 GB, free: 8.375 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.358, allocations: 4 kB / 1.564 GB, free: 8.371 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.358, allocations: 0 / 1.564 GB, free: 8.371 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009988/1.359, allocations: 0.5173 MB / 1.564 GB, free: 7.844 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/1.362, allocations: 1.452 MB / 1.566 GB, free: 6.328 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.362, allocations: 4 kB / 1.566 GB, free: 6.324 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/1.363, allocations: 107.9 kB / 1.566 GB, free: 6.219 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.363, allocations: 4 kB / 1.566 GB, free: 6.215 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/1.363, allocations: 20.16 kB / 1.566 GB, free: 6.195 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.363, allocations: 8 kB / 1.566 GB, free: 6.188 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.363, allocations: 3.984 kB / 1.566 GB, free: 6.184 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.364, allocations: 1.008 MB / 1.567 GB, free: 5.141 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.365, allocations: 143.3 kB / 1.567 GB, free: 5 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/1.365, allocations: 15.94 kB / 1.567 GB, free: 4.984 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/1.365, allocations: 19.98 kB / 1.567 GB, free: 4.965 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/1.365, allocations: 35.89 kB / 1.567 GB, free: 4.93 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/1.365, allocations: 15.98 kB / 1.567 GB, free: 4.914 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0006307/1.366, allocations: 451 kB / 1.567 GB, free: 4.477 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.1e-07/1.366, allocations: 4 kB / 1.567 GB, free: 4.473 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.001008/1.367, allocations: 303.3 kB / 1.568 GB, free: 4.176 MB / 1.245 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.000568/1.368, allocations: 205.5 kB / 1.568 GB, free: 3.973 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.369, allocations: 0.5802 MB / 1.569 GB, free: 3.395 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.369, allocations: 0.6875 kB / 1.569 GB, free: 3.395 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.0004141/1.369, allocations: 263.6 kB / 1.569 GB, free: 3.137 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.371, allocations: 371.1 kB / 1.569 GB, free: 2.785 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/1.374, allocations: 1.937 MB / 1.571 GB, free: 0.7969 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/1.375, allocations: 0.5235 MB / 1.572 GB, free: 248 kB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.000779/1.376, allocations: 250.3 kB / 1.572 GB, free: 15.99 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.376, allocations: 67.38 kB / 1.572 GB, free: 15.93 MB / 1.26 GB Notification: Performance of SimCode: time 9.62e-07/1.376, allocations: 3.938 kB / 1.572 GB, free: 15.92 MB / 1.26 GB Notification: Performance of Templates: time 0.03613/1.412, allocations: 15.85 MB / 1.587 GB, free: 460 kB / 1.26 GB " [Timeout remaining time 299] 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: 11.328614167869091]