Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 284.8 MB / 297.3 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001486, allocations: 184.7 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.1 MB / 0.6241 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 97.52 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.73e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8199, allocations: 115.2 MB / 0.97 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.816/7.636, allocations: 2.135 GB / 3.105 GB, free: 282.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/7.636, allocations: 91.58 kB / 3.105 GB, free: 282.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.06/18.69, allocations: 2.036 GB / 5.141 GB, free: 97.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.734e-06/18.69, allocations: 0 / 5.141 GB, free: 97.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004726/18.69, allocations: 91.05 kB / 5.141 GB, free: 97.36 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.01407/18.71, allocations: 3.472 MB / 5.145 GB, free: 95.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/18.71, allocations: 6.312 kB / 5.145 GB, free: 95.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/18.72, allocations: 0.9256 MB / 5.146 GB, free: 95.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/18.73, allocations: 2.845 MB / 5.148 GB, free: 94.81 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/18.73, allocations: 285.4 kB / 5.149 GB, free: 94.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/18.73, allocations: 297.7 kB / 5.149 GB, free: 94.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/18.74, allocations: 3.13 MB / 5.152 GB, free: 94.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/18.74, allocations: 10.09 kB / 5.152 GB, free: 94.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006786/18.74, allocations: 112.5 kB / 5.152 GB, free: 94.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/18.74, allocations: 97.09 kB / 5.152 GB, free: 94.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008755/18.75, allocations: 2.566 MB / 5.155 GB, free: 94.42 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.02685/18.78, allocations: 13.18 MB / 5.167 GB, free: 87.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/18.78, allocations: 1.762 MB / 5.169 GB, free: 87.02 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/18.79, allocations: 1.06 MB / 5.17 GB, free: 87 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/18.79, allocations: 325.8 kB / 5.171 GB, free: 86.72 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/18.79, allocations: 58.94 kB / 5.171 GB, free: 86.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 4.779e-06/18.79, allocations: 1.438 kB / 5.171 GB, free: 86.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.006489/18.79, allocations: 1.938 MB / 5.173 GB, free: 86.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/18.79, allocations: 78.81 kB / 5.173 GB, free: 86.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/18.8, allocations: 1.673 MB / 5.174 GB, free: 86.17 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/18.8, allocations: 68.23 kB / 5.174 GB, free: 86.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/18.8, allocations: 1.411 MB / 5.176 GB, free: 85.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/18.8, allocations: 0.6349 MB / 5.176 GB, free: 85.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/18.8, allocations: 44.06 kB / 5.176 GB, free: 85.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002038/18.8, allocations: 388.9 kB / 5.177 GB, free: 84.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/18.81, allocations: 0.7514 MB / 5.177 GB, free: 84.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/18.81, allocations: 1.431 MB / 5.179 GB, free: 84.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/18.81, allocations: 1.032 MB / 5.18 GB, free: 84.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/18.81, allocations: 2.906 kB / 5.18 GB, free: 84.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007486/18.82, allocations: 2.401 MB / 5.182 GB, free: 83.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001257/18.82, allocations: 5.522 MB / 5.188 GB, free: 77.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/18.82, allocations: 11.75 kB / 5.188 GB, free: 77.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.977e-05/18.82, allocations: 23.38 kB / 5.188 GB, free: 77.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/18.83, allocations: 0.5187 MB / 5.188 GB, free: 77.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/18.83, allocations: 4.156 MB / 5.192 GB, free: 73.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/18.83, allocations: 368.7 kB / 5.193 GB, free: 73.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/18.83, allocations: 92.53 kB / 5.193 GB, free: 73.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/18.83, allocations: 5.688 kB / 5.193 GB, free: 73.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006161/18.84, allocations: 2.137 MB / 5.195 GB, free: 72.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/18.84, allocations: 15.09 kB / 5.195 GB, free: 72.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.816e-05/18.84, allocations: 22.62 kB / 5.195 GB, free: 72.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/18.84, allocations: 476.1 kB / 5.195 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-05/18.84, allocations: 32.94 kB / 5.195 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/18.85, allocations: 349.1 kB / 5.196 GB, free: 72.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/18.85, allocations: 85.16 kB / 5.196 GB, free: 72.63 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.0008339/18.85, allocations: 237.4 kB / 5.196 GB, free: 72.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/18.85, allocations: 270.9 kB / 5.196 GB, free: 72.29 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/18.86, allocations: 2.035 MB / 5.198 GB, free: 71.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/18.86, allocations: 21.62 kB / 5.198 GB, free: 71.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/18.86, allocations: 0 / 5.198 GB, free: 71.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004456/18.86, allocations: 1.816 MB / 5.2 GB, free: 70.67 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/18.88, allocations: 5.08 MB / 5.205 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/18.88, allocations: 3.75 kB / 5.205 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004818/18.88, allocations: 0.5109 MB / 5.205 GB, free: 68.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.512e-05/18.88, allocations: 6.188 kB / 5.205 GB, free: 68.53 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004151/18.88, allocations: 54.23 kB / 5.205 GB, free: 68.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/18.89, allocations: 4.127 MB / 5.209 GB, free: 64.35 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/18.89, allocations: 3.312 kB / 5.209 GB, free: 64.35 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/18.89, allocations: 3.498 MB / 5.213 GB, free: 62.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/18.9, allocations: 0.564 MB / 5.213 GB, free: 62.24 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009249/18.9, allocations: 39.7 kB / 5.213 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/18.9, allocations: 254.2 kB / 5.214 GB, free: 62.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005526/18.9, allocations: 117.1 kB / 5.214 GB, free: 62.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/18.9, allocations: 75.11 kB / 5.214 GB, free: 62.13 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003343/18.91, allocations: 1.275 MB / 5.215 GB, free: 61.03 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.41e-07/18.91, allocations: 0 / 5.215 GB, free: 61.03 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009621/18.92, allocations: 2.137 MB / 5.217 GB, free: 58.92 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.008977/18.93, allocations: 4.768 MB / 5.222 GB, free: 55.08 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009682/18.94, allocations: 3.214 MB / 5.225 GB, free: 52.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/18.94, allocations: 4 kB / 5.225 GB, free: 52.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00283/18.94, allocations: 0.9868 MB / 5.226 GB, free: 51.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01388/18.95, allocations: 1.559 MB / 5.228 GB, free: 50.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/18.97, allocations: 5.515 MB / 5.233 GB, free: 45.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003838/18.97, allocations: 2.246 MB / 5.235 GB, free: 43.42 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00915/18.98, allocations: 1.337 MB / 5.236 GB, free: 42.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/18.98, allocations: 179 kB / 5.237 GB, free: 42.38 MB / 1.01 GB Notification: Performance of SimCode: time 1.422e-06/18.98, allocations: 0 / 5.237 GB, free: 42.38 MB / 1.01 GB Notification: Performance of Templates: time 1.072/20.05, allocations: 112.5 MB / 5.346 GB, free: 121.2 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)