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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001028/0.001029, allocations: 191.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.5492 GB, free: 13.6 MB / 462.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.001376/0.001376, allocations: 63.41 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2721, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9557/1.228, allocations: 301.6 MB / 1.078 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04009/1.268, allocations: 25.46 MB / 1.103 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007129/1.275, allocations: 111.2 kB / 1.103 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006767/1.282, allocations: 1.59 MB / 1.105 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02019/1.302, allocations: 5.589 MB / 1.11 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008464/1.311, allocations: 2.385 MB / 1.112 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01495/1.326, allocations: 8.845 MB / 1.121 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/1.332, allocations: 3.498 MB / 1.124 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01505/1.347, allocations: 4.151 MB / 1.128 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008465/1.356, allocations: 3.155 MB / 1.132 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002616/1.359, allocations: 356 kB / 1.132 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.373, allocations: 4.828 MB / 1.137 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003321/1.376, allocations: 1.648 MB / 1.138 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005068/1.381, allocations: 2.131 MB / 1.14 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.392, allocations: 5.11 MB / 1.145 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.393, allocations: 0 / 1.145 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.935e-06/1.393, allocations: 0 / 1.145 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002213/1.393, allocations: 0 / 1.145 GB, free: 0.6719 MB / 0.8419 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.00999/1.403, allocations: 4.149 MB / 1.149 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.403, allocations: 19.95 kB / 1.149 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/1.409, allocations: 0.9283 MB / 1.15 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005955/1.415, allocations: 2.236 MB / 1.152 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/1.415, allocations: 289.2 kB / 1.153 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/1.416, allocations: 287.9 kB / 1.153 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00635/1.422, allocations: 3.359 MB / 1.156 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/1.422, allocations: 0 / 1.156 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/1.423, allocations: 120 kB / 1.156 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/1.423, allocations: 109.3 kB / 1.156 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/1.427, allocations: 2.781 MB / 1.159 GB, free: 2.145 MB / 0.8575 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.01824/1.446, allocations: 13.19 MB / 1.172 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/1.448, allocations: 1.832 MB / 1.174 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/1.45, allocations: 1.106 MB / 1.175 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/1.45, allocations: 321.2 kB / 1.175 GB, free: 472 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/1.45, allocations: 64.5 kB / 1.175 GB, free: 396 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=182): time 3.948e-06/1.45, allocations: 4 kB / 1.175 GB, free: 392 kB / 0.8731 GB Notification: Performance of matching and sorting (n=182): time 0.005148/1.455, allocations: 2.712 MB / 1.178 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.456, allocations: 73.34 kB / 1.178 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.458, allocations: 1.976 MB / 1.18 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/1.459, allocations: 69.7 kB / 1.18 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.46, allocations: 1.395 MB / 1.181 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007199/1.46, allocations: 0.6431 MB / 1.182 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/1.461, allocations: 387.3 kB / 1.182 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.461, allocations: 301.1 kB / 1.183 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.462, allocations: 0.813 MB / 1.183 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.464, allocations: 1.435 MB / 1.185 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/1.467, allocations: 2.252 MB / 1.187 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.467, allocations: 4 kB / 1.187 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004318/1.471, allocations: 2.486 MB / 1.189 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.471, allocations: 16 kB / 1.19 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.471, allocations: 16 kB / 1.19 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.472, allocations: 20 kB / 1.19 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.474, allocations: 0.5577 MB / 1.19 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.476, allocations: 4.149 MB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/1.48, allocations: 366.5 kB / 1.194 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.48, allocations: 87.98 kB / 1.195 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002607/1.483, allocations: 1.464 MB / 1.196 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001684/1.484, allocations: 1.42 MB / 1.197 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002861/1.487, allocations: 2.233 MB / 1.2 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/1.487, allocations: 4 kB / 1.2 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004209/1.491, allocations: 2.475 MB / 1.202 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.491, allocations: 8 kB / 1.202 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.492, allocations: 16 kB / 1.202 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.492, allocations: 20 kB / 1.202 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.493, allocations: 471.3 kB / 1.202 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.117e-05/1.493, allocations: 35.86 kB / 1.203 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/1.497, allocations: 344.5 kB / 1.203 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/1.497, allocations: 87.92 kB / 1.203 GB, free: 2.914 MB / 0.9044 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 () * Number of clocked 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007129/1.498, allocations: 322.7 kB / 1.203 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.499, allocations: 264.8 kB / 1.203 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/1.503, allocations: 2.103 MB / 1.206 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.503, allocations: 16 kB / 1.206 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.503, allocations: 0 / 1.206 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002688/1.505, allocations: 1.882 MB / 1.207 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.516, allocations: 5.153 MB / 1.212 GB, free: 9.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.516, allocations: 4 kB / 1.212 GB, free: 9.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.518, allocations: 0.5114 MB / 1.213 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.336e-05/1.518, allocations: 8 kB / 1.213 GB, free: 8.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.518, allocations: 51.98 kB / 1.213 GB, free: 8.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/1.521, allocations: 4.126 MB / 1.217 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.521, allocations: 4 kB / 1.217 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/1.526, allocations: 3.355 MB / 1.22 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.528, allocations: 0.5599 MB / 1.221 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007172/1.529, allocations: 43.98 kB / 1.221 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.532, allocations: 247.3 kB / 1.221 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.532, allocations: 117.7 kB / 1.221 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.532, allocations: 67.95 kB / 1.221 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002765/1.535, allocations: 1.317 MB / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/1.535, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005756/1.541, allocations: 1.718 MB / 1.224 GB, free: 12.64 MB / 0.9356 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000955/1.542, allocations: 350.5 kB / 1.225 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.552, allocations: 4.637 MB / 1.229 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.552, allocations: 4 kB / 1.229 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.554, allocations: 1.032 MB / 1.23 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008117/1.562, allocations: 1.529 MB / 1.232 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.576, allocations: 7.978 MB / 1.239 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.58, allocations: 2.189 MB / 1.242 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.581, allocations: 231.4 kB / 1.242 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of SimCode: time 1.743e-06/1.581, allocations: 0 / 1.242 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.5642/2.145, allocations: 139.9 MB / 1.378 GB, free: 341.9 MB / 0.9981 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)