Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.0009279/0.0009279, allocations: 168.9 kB / 366.7 MB, free: 1.652 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.384/1.384, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008533, allocations: 89.23 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.561e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6361, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.65/5.287, allocations: 2.135 GB / 3.109 GB, free: 346.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/5.287, allocations: 86.44 kB / 3.109 GB, free: 346.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.835/12.12, allocations: 2.014 GB / 5.123 GB, free: 92.44 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.536e-06/12.12, allocations: 0 / 5.123 GB, free: 92.44 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007015/12.12, allocations: 97.8 kB / 5.123 GB, free: 92.42 MB / 1.01 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.01464/12.14, allocations: 3.466 MB / 5.126 GB, free: 91.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/12.14, allocations: 12.12 kB / 5.126 GB, free: 91.05 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007096/12.14, allocations: 0.9188 MB / 5.127 GB, free: 90.86 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009011/12.15, allocations: 2.841 MB / 5.13 GB, free: 90.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/12.15, allocations: 177 kB / 5.13 GB, free: 90.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/12.16, allocations: 177.6 kB / 5.13 GB, free: 90.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005961/12.16, allocations: 2.43 MB / 5.133 GB, free: 90.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006929/12.17, allocations: 2.742 MB / 5.135 GB, free: 89.94 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.7e-05/12.17, allocations: 6.719 kB / 5.135 GB, free: 89.94 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004759/12.17, allocations: 1.344 kB / 5.135 GB, free: 89.94 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/12.17, allocations: 106.9 kB / 5.135 GB, free: 89.93 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.01618/12.19, allocations: 12.67 MB / 5.148 GB, free: 82.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/12.19, allocations: 1.689 MB / 5.149 GB, free: 82.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/12.19, allocations: 1.003 MB / 5.15 GB, free: 82.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/12.19, allocations: 331.6 kB / 5.151 GB, free: 82.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/12.19, allocations: 61.47 kB / 5.151 GB, free: 82.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 3.286e-06/12.19, allocations: 0 / 5.151 GB, free: 82.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.003737/12.19, allocations: 1.852 MB / 5.153 GB, free: 82.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/12.19, allocations: 76.25 kB / 5.153 GB, free: 82.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/12.2, allocations: 1.41 MB / 5.154 GB, free: 81.95 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/12.2, allocations: 31.11 kB / 5.154 GB, free: 81.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009313/12.2, allocations: 1.404 MB / 5.155 GB, free: 81.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/12.2, allocations: 0.6224 MB / 5.156 GB, free: 80.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/12.2, allocations: 0 / 5.156 GB, free: 80.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001668/12.2, allocations: 388.8 kB / 5.156 GB, free: 80.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/12.2, allocations: 0.7222 MB / 5.157 GB, free: 80.62 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/12.2, allocations: 1.391 MB / 5.158 GB, free: 79.85 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/12.2, allocations: 0.9891 MB / 5.159 GB, free: 79.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/12.2, allocations: 5.531 kB / 5.159 GB, free: 79.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003716/12.21, allocations: 2.219 MB / 5.162 GB, free: 79.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001185/12.21, allocations: 5.47 MB / 5.167 GB, free: 73.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/12.21, allocations: 16.19 kB / 5.167 GB, free: 73.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/12.21, allocations: 22.94 kB / 5.167 GB, free: 73.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/12.21, allocations: 0.5219 MB / 5.167 GB, free: 73.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/12.21, allocations: 4.173 MB / 5.171 GB, free: 69.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/12.21, allocations: 317.5 kB / 5.172 GB, free: 69.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/12.21, allocations: 89.25 kB / 5.172 GB, free: 69.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/12.21, allocations: 9.188 kB / 5.172 GB, free: 69.59 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/12.22, allocations: 1.912 MB / 5.174 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/12.22, allocations: 13.53 kB / 5.174 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/12.22, allocations: 30.84 kB / 5.174 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/12.22, allocations: 472.9 kB / 5.174 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.299e-05/12.22, allocations: 36.53 kB / 5.174 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/12.22, allocations: 289.4 kB / 5.175 GB, free: 69.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/12.22, allocations: 90.55 kB / 5.175 GB, free: 69.46 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * 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.0004397/12.22, allocations: 164.3 kB / 5.175 GB, free: 69.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/12.22, allocations: 255.2 kB / 5.175 GB, free: 69.22 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/12.23, allocations: 1.883 MB / 5.177 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/12.23, allocations: 17.91 kB / 5.177 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/12.23, allocations: 0 / 5.177 GB, free: 69.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/12.23, allocations: 1.717 MB / 5.179 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/12.24, allocations: 4.633 MB / 5.183 GB, free: 68.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/12.24, allocations: 3.5 kB / 5.183 GB, free: 68.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/12.24, allocations: 0.5142 MB / 5.184 GB, free: 68.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/12.24, allocations: 16.92 kB / 5.184 GB, free: 68.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/12.24, allocations: 27.44 kB / 5.184 GB, free: 68.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/12.24, allocations: 4.128 MB / 5.188 GB, free: 64.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/12.24, allocations: 3.969 kB / 5.188 GB, free: 64.14 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/12.24, allocations: 3.342 MB / 5.191 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/12.24, allocations: 0.5531 MB / 5.191 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/12.25, allocations: 12.16 kB / 5.192 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/12.25, allocations: 225.8 kB / 5.192 GB, free: 63.13 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/12.25, allocations: 113.8 kB / 5.192 GB, free: 63.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/12.25, allocations: 73.91 kB / 5.192 GB, free: 63.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001612/12.25, allocations: 1.051 MB / 5.193 GB, free: 62.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.4e-07/12.25, allocations: 0 / 5.193 GB, free: 62.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005325/12.25, allocations: 1.913 MB / 5.195 GB, free: 62.71 MB / 1.01 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * 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.006975/12.26, allocations: 5.196 MB / 5.2 GB, free: 60.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005483/12.27, allocations: 3.055 MB / 5.203 GB, free: 60.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/12.27, allocations: 0 / 5.203 GB, free: 60.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/12.27, allocations: 0.941 MB / 5.204 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007832/12.28, allocations: 1.457 MB / 5.205 GB, free: 60.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/12.29, allocations: 5.4 MB / 5.21 GB, free: 58.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/12.29, allocations: 2.253 MB / 5.213 GB, free: 57.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005643/12.3, allocations: 1.257 MB / 5.214 GB, free: 57.85 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/12.3, allocations: 178.8 kB / 5.214 GB, free: 57.84 MB / 1.01 GB Notification: Performance of SimCode: time 9.02e-07/12.3, allocations: 0 / 5.214 GB, free: 57.84 MB / 1.01 GB Notification: Performance of Templates: time 0.1034/12.4, allocations: 73.3 MB / 5.286 GB, free: 19.26 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)