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.001179/0.001179, allocations: 106.2 kB / 16.36 MB, free: 6.258 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.001102/0.001102, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.002393/0.002393, allocations: 71.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2116, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6425/0.8541, allocations: 305.1 MB / 1.083 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03531/0.8894, allocations: 25.63 MB / 1.108 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004103/0.8935, allocations: 115.3 kB / 1.108 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.8985, allocations: 1.802 MB / 1.11 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.9129, allocations: 5.938 MB / 1.115 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006683/0.9196, allocations: 2.596 MB / 1.118 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.9312, allocations: 8.853 MB / 1.127 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005382/0.9367, allocations: 3.618 MB / 1.13 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.9467, allocations: 4.141 MB / 1.134 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/0.9524, allocations: 2.952 MB / 1.137 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.9538, allocations: 356 kB / 1.137 GB, free: 456 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4256/1.379, allocations: 4.599 MB / 1.142 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001831/1.381, allocations: 1.64 MB / 1.144 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003913/1.385, allocations: 2.124 MB / 1.146 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/1.398, allocations: 6.737 MB / 1.152 GB, free: 15.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.398, allocations: 0 / 1.152 GB, free: 15.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/1.398, allocations: 0.5625 kB / 1.152 GB, free: 15.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001988/1.399, allocations: 0.8125 kB / 1.152 GB, free: 15.09 MB / 0.92 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.01105/1.41, allocations: 4.151 MB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.41, allocations: 10.31 kB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/1.416, allocations: 0.9333 MB / 1.157 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/1.421, allocations: 2.36 MB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/1.422, allocations: 279.3 kB / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005617/1.422, allocations: 295.4 kB / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/1.428, allocations: 3.352 MB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/1.428, allocations: 2.016 kB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/1.428, allocations: 119.6 kB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/1.429, allocations: 108.9 kB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004808/1.433, allocations: 2.788 MB / 1.166 GB, free: 12.15 MB / 0.92 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.01566/1.449, allocations: 13.22 MB / 1.179 GB, free: 20.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/1.452, allocations: 1.826 MB / 1.181 GB, free: 20.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.454, allocations: 1.104 MB / 1.182 GB, free: 20.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/1.454, allocations: 326.2 kB / 1.182 GB, free: 20.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/1.454, allocations: 59.19 kB / 1.182 GB, free: 20.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=182): time 4.047e-06/1.454, allocations: 0 / 1.182 GB, free: 20.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=182): time 0.004851/1.459, allocations: 2.722 MB / 1.185 GB, free: 20.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.459, allocations: 76.23 kB / 1.185 GB, free: 20.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/1.462, allocations: 1.975 MB / 1.187 GB, free: 20.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003194/1.462, allocations: 66.52 kB / 1.187 GB, free: 19.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009044/1.463, allocations: 1.397 MB / 1.188 GB, free: 19.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/1.463, allocations: 0.6403 MB / 1.189 GB, free: 19.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/1.464, allocations: 389.1 kB / 1.189 GB, free: 19.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/1.464, allocations: 305.6 kB / 1.19 GB, free: 18.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/1.465, allocations: 0.8069 MB / 1.191 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.467, allocations: 1.436 MB / 1.192 GB, free: 18.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.47, allocations: 2.247 MB / 1.194 GB, free: 17.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/1.47, allocations: 6.641 kB / 1.194 GB, free: 17.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00402/1.474, allocations: 2.491 MB / 1.197 GB, free: 17.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.474, allocations: 12.59 kB / 1.197 GB, free: 17.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.474, allocations: 13.5 kB / 1.197 GB, free: 17.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/1.474, allocations: 28.41 kB / 1.197 GB, free: 17.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.476, allocations: 0.5555 MB / 1.197 GB, free: 17.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.478, allocations: 4.151 MB / 1.201 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/1.481, allocations: 217.8 kB / 1.201 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/1.482, allocations: 89.88 kB / 1.201 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002398/1.484, allocations: 1.459 MB / 1.203 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001394/1.485, allocations: 1.426 MB / 1.204 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002529/1.488, allocations: 2.232 MB / 1.206 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/1.488, allocations: 7.938 kB / 1.206 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003668/1.492, allocations: 2.461 MB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.492, allocations: 12.17 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.492, allocations: 19.14 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.492, allocations: 24.31 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.493, allocations: 473.5 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/1.493, allocations: 31 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.496, allocations: 201.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.496, allocations: 89.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 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.0005307/1.497, allocations: 314.4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/1.497, allocations: 264.2 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/1.5, allocations: 2.096 MB / 1.212 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002273/1.503, allocations: 1.878 MB / 1.214 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/1.503, allocations: 0 / 1.214 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.504, allocations: 0.5532 MB / 1.215 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/1.504, allocations: 45.14 kB / 1.215 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.506, allocations: 86.53 kB / 1.215 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.506, allocations: 105.5 kB / 1.215 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004183/1.51, allocations: 2.327 MB / 1.217 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004036/1.514, allocations: 3.415 MB / 1.221 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/1.516, allocations: 0.9134 MB / 1.221 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001687/1.517, allocations: 1.317 MB / 1.223 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.517, allocations: 0.9688 kB / 1.223 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007925/1.525, allocations: 3.545 MB / 1.226 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of SimCode: time 0.01207/1.537, allocations: 7.401 MB / 1.233 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of Templates: time 0.101/1.638, allocations: 68.8 MB / 1.301 GB, free: 0.5039 MB / 0.9825 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)