Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 304.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 169.7 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.6317 GB, free: 9.809 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 99 kB / 0.745 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 16.44 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.724/4.939, allocations: 2.135 GB / 3.116 GB, free: 179.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/4.94, allocations: 96.97 kB / 3.116 GB, free: 179.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.125/12.06, allocations: 2.033 GB / 5.15 GB, free: 7.691 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.916e-06/12.06, allocations: 0 / 5.15 GB, free: 7.691 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003839/12.07, allocations: 99.91 kB / 5.15 GB, free: 7.594 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01551/12.08, allocations: 3.915 MB / 5.153 GB, free: 3.605 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/12.08, allocations: 14.19 kB / 5.153 GB, free: 3.594 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/12.09, allocations: 0.9252 MB / 5.154 GB, free: 2.664 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7772/12.87, allocations: 2.854 MB / 5.157 GB, free: 108.8 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006399/12.87, allocations: 278.1 kB / 5.157 GB, free: 108.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/12.87, allocations: 296.2 kB / 5.158 GB, free: 108.7 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/12.88, allocations: 3.234 MB / 5.161 GB, free: 108.4 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.765e-05/12.88, allocations: 3.844 kB / 5.161 GB, free: 108.4 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/12.88, allocations: 111.8 kB / 5.161 GB, free: 108.4 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/12.88, allocations: 103 kB / 5.161 GB, free: 108.4 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005765/12.88, allocations: 2.645 MB / 5.164 GB, free: 108.4 MB / 1.026 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.0213/12.9, allocations: 13.24 MB / 5.177 GB, free: 101.5 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/12.91, allocations: 1.796 MB / 5.178 GB, free: 101.5 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/12.91, allocations: 1.1 MB / 5.179 GB, free: 101.5 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/12.91, allocations: 327.2 kB / 5.18 GB, free: 101.2 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.149e-05/12.91, allocations: 64.8 kB / 5.18 GB, free: 101.2 MB / 1.026 GB Notification: Performance of pre-optimization done (n=186): time 5.09e-06/12.91, allocations: 1.219 kB / 5.18 GB, free: 101.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=186): time 0.005617/12.92, allocations: 2.732 MB / 5.182 GB, free: 100.9 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/12.92, allocations: 69.47 kB / 5.183 GB, free: 100.9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/12.92, allocations: 1.962 MB / 5.184 GB, free: 100.7 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003702/12.92, allocations: 75.89 kB / 5.185 GB, free: 100.6 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/12.92, allocations: 1.397 MB / 5.186 GB, free: 100.2 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/12.92, allocations: 0.654 MB / 5.187 GB, free: 99.89 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/12.92, allocations: 41.81 kB / 5.187 GB, free: 99.89 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001241/12.92, allocations: 387.6 kB / 5.187 GB, free: 99.59 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/12.92, allocations: 0.7933 MB / 5.188 GB, free: 99.58 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/12.92, allocations: 1.47 MB / 5.189 GB, free: 98.83 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/12.93, allocations: 2.224 MB / 5.191 GB, free: 98.35 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/12.93, allocations: 2.031 kB / 5.191 GB, free: 98.35 MB / 1.026 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004097/12.93, allocations: 2.48 MB / 5.194 GB, free: 98.14 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002388/12.93, allocations: 470.4 kB / 5.194 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/12.93, allocations: 13.25 kB / 5.194 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/12.93, allocations: 19.12 kB / 5.194 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/12.93, allocations: 0.5681 MB / 5.195 GB, free: 97.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/12.94, allocations: 4.158 MB / 5.199 GB, free: 93.51 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/12.94, allocations: 385.5 kB / 5.199 GB, free: 93.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/12.94, allocations: 94.41 kB / 5.199 GB, free: 93.46 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/12.94, allocations: 2.688 kB / 5.199 GB, free: 93.46 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003288/12.94, allocations: 2.206 MB / 5.201 GB, free: 93.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/12.94, allocations: 13.22 kB / 5.201 GB, free: 93.41 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/12.94, allocations: 28.25 kB / 5.201 GB, free: 93.41 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/12.94, allocations: 478.2 kB / 5.202 GB, free: 93.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.186e-05/12.94, allocations: 32.55 kB / 5.202 GB, free: 93.41 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/12.95, allocations: 365.9 kB / 5.202 GB, free: 93.36 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/12.95, allocations: 94.2 kB / 5.202 GB, free: 93.36 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002644/12.95, allocations: 0.8637 MB / 5.203 GB, free: 93.17 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/12.95, allocations: 266.9 kB / 5.204 GB, free: 93.04 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/12.96, allocations: 2.118 MB / 5.206 GB, free: 92.92 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/12.96, allocations: 17.97 kB / 5.206 GB, free: 92.92 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/12.96, allocations: 3.938 kB / 5.206 GB, free: 92.91 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002881/12.96, allocations: 1.888 MB / 5.207 GB, free: 92.62 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/12.97, allocations: 5.176 MB / 5.213 GB, free: 92.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/12.97, allocations: 2.719 kB / 5.213 GB, free: 92.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/12.97, allocations: 0.5111 MB / 5.213 GB, free: 92.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/12.97, allocations: 10.47 kB / 5.213 GB, free: 92.1 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/12.97, allocations: 53.17 kB / 5.213 GB, free: 92.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/12.98, allocations: 4.13 MB / 5.217 GB, free: 88 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/12.98, allocations: 5.781 kB / 5.217 GB, free: 88 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/12.98, allocations: 3.383 MB / 5.22 GB, free: 87.54 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/12.98, allocations: 0.5715 MB / 5.221 GB, free: 87.32 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/12.98, allocations: 42.89 kB / 5.221 GB, free: 87.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/12.99, allocations: 253 kB / 5.221 GB, free: 87.3 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/12.99, allocations: 116 kB / 5.221 GB, free: 87.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/12.99, allocations: 77.53 kB / 5.221 GB, free: 87.3 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002703/12.99, allocations: 1.302 MB / 5.223 GB, free: 87.15 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.6e-07/12.99, allocations: 1.5 kB / 5.223 GB, free: 87.15 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.008373/13, allocations: 2.138 MB / 5.225 GB, free: 87.03 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009354/13.01, allocations: 4.785 MB / 5.229 GB, free: 84.78 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.009147/13.02, allocations: 3.319 MB / 5.233 GB, free: 84.73 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/13.02, allocations: 3.688 kB / 5.233 GB, free: 84.73 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/13.02, allocations: 1.039 MB / 5.234 GB, free: 84.71 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/13.03, allocations: 1.587 MB / 5.235 GB, free: 84.68 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/13.04, allocations: 7.847 MB / 5.243 GB, free: 81.64 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/13.04, allocations: 2.182 MB / 5.245 GB, free: 80.88 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.00473/13.05, allocations: 1.117 MB / 5.246 GB, free: 80.86 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/13.05, allocations: 232.6 kB / 5.246 GB, free: 80.85 MB / 1.026 GB Notification: Performance of SimCode: time 8.92e-07/13.05, allocations: 0 / 5.246 GB, free: 80.85 MB / 1.026 GB Notification: Performance of Templates: time 0.1503/13.2, allocations: 100.2 MB / 5.344 GB, free: 76.39 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)