Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009755/0.0009755, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 252 MB / 0.5102 GB, free: 4.715 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008034/0.0008037, allocations: 19.44 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5343, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7892/1.324, allocations: 279.4 MB / 1.001 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02901/1.353, allocations: 24.21 MB / 1.025 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006832/1.36, allocations: 102.2 kB / 1.025 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006363/1.366, allocations: 1.209 MB / 1.026 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01727/1.383, allocations: 4.389 MB / 1.03 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00702/1.39, allocations: 2.018 MB / 1.032 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0166/1.407, allocations: 10.81 MB / 1.043 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005566/1.412, allocations: 2.584 MB / 1.045 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009675/1.422, allocations: 3.278 MB / 1.048 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/1.429, allocations: 2.851 MB / 1.051 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/1.431, allocations: 160 kB / 1.051 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.442, allocations: 2.407 MB / 1.054 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004332/1.446, allocations: 1.46 MB / 1.055 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003277/1.45, allocations: 0.7693 MB / 1.056 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00999/1.46, allocations: 4.825 MB / 1.061 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.46, allocations: 4 kB / 1.061 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/1.46, allocations: 0 / 1.061 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002667/1.46, allocations: 0 / 1.061 GB, free: 0.5625 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.009311/1.469, allocations: 3.479 MB / 1.064 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.469, allocations: 8.031 kB / 1.064 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0067/1.476, allocations: 0.9433 MB / 1.065 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/1.483, allocations: 2.365 MB / 1.067 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/1.483, allocations: 281 kB / 1.068 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/1.484, allocations: 299.8 kB / 1.068 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008743/1.493, allocations: 3.399 MB / 1.071 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/1.493, allocations: 4 kB / 1.071 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006943/1.494, allocations: 115.4 kB / 1.071 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.494, allocations: 113.4 kB / 1.071 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/1.5, allocations: 2.804 MB / 1.074 GB, free: 2.617 MB / 0.7481 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.02341/1.524, allocations: 13.3 MB / 1.087 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/1.528, allocations: 1.838 MB / 1.089 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.53, allocations: 1.11 MB / 1.09 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/1.53, allocations: 334.3 kB / 1.09 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/1.53, allocations: 56.56 kB / 1.09 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=186): time 5.961e-06/1.53, allocations: 0 / 1.09 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186): time 0.006163/1.536, allocations: 2.739 MB / 1.093 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.537, allocations: 77.39 kB / 1.093 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/1.541, allocations: 1.969 MB / 1.095 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/1.541, allocations: 73.7 kB / 1.095 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/1.542, allocations: 1.392 MB / 1.096 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000841/1.543, allocations: 0.6568 MB / 1.097 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.543, allocations: 40 kB / 1.097 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.544, allocations: 386 kB / 1.097 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.545, allocations: 0.7965 MB / 1.098 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/1.547, allocations: 1.42 MB / 1.1 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/1.549, allocations: 1.052 MB / 1.101 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/1.549, allocations: 7.953 kB / 1.101 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004882/1.554, allocations: 2.471 MB / 1.103 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004123/1.554, allocations: 466.2 kB / 1.104 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/1.554, allocations: 12 kB / 1.104 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-05/1.554, allocations: 24 kB / 1.104 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/1.557, allocations: 0.5695 MB / 1.104 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/1.56, allocations: 4.157 MB / 1.108 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/1.563, allocations: 380.6 kB / 1.109 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/1.564, allocations: 87.98 kB / 1.109 GB, free: 13.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.564, allocations: 4 kB / 1.109 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005188/1.569, allocations: 2.218 MB / 1.111 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/1.569, allocations: 12 kB / 1.111 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/1.569, allocations: 24 kB / 1.111 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.571, allocations: 479.3 kB / 1.111 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.522e-05/1.571, allocations: 31.86 kB / 1.111 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.576, allocations: 361.7 kB / 1.112 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/1.576, allocations: 87.98 kB / 1.112 GB, free: 10.25 MB / 0.795 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.002354/1.579, allocations: 0.8715 MB / 1.113 GB, free: 9.371 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009801/1.58, allocations: 268.8 kB / 1.113 GB, free: 9.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/1.584, allocations: 2.123 MB / 1.115 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.584, allocations: 20 kB / 1.115 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.584, allocations: 0 / 1.115 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002789/1.587, allocations: 1.886 MB / 1.117 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.598, allocations: 5.216 MB / 1.122 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.598, allocations: 7.953 kB / 1.122 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.601, allocations: 0.518 MB / 1.122 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.385e-05/1.601, allocations: 8 kB / 1.122 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.601, allocations: 56 kB / 1.122 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.603, allocations: 4.13 MB / 1.126 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.603, allocations: 0 / 1.126 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/1.609, allocations: 3.387 MB / 1.13 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.611, allocations: 0.595 MB / 1.13 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008369/1.611, allocations: 51.92 kB / 1.13 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/1.615, allocations: 264 kB / 1.131 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/1.615, allocations: 121.9 kB / 1.131 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.615, allocations: 71.95 kB / 1.131 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00274/1.618, allocations: 1.314 MB / 1.132 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/1.618, allocations: 4 kB / 1.132 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006252/1.624, allocations: 1.749 MB / 1.134 GB, free: 3.234 MB / 0.8106 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.001187/1.625, allocations: 372.6 kB / 1.134 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007092/1.633, allocations: 3.31 MB / 1.137 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.633, allocations: 4 kB / 1.137 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.635, allocations: 1.031 MB / 1.138 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/1.645, allocations: 1.618 MB / 1.14 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.66, allocations: 7.932 MB / 1.148 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/1.663, allocations: 2.193 MB / 1.15 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005792/1.668, allocations: 1.107 MB / 1.151 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.67, allocations: 227.4 kB / 1.151 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of SimCode: time 3.286e-06/1.67, allocations: 0 / 1.151 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.09522/1.765, allocations: 52.58 MB / 1.203 GB, free: 13.57 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: