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.0008556/0.0008557, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005921/0.005921, allocations: 172 kB / 16.26 MB, free: 6.613 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.512/1.512, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.733/1.733, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006563/0.0006566, allocations: 15.88 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2722, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8377/1.11, allocations: 298.7 MB / 1.08 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03965/1.15, allocations: 25.53 MB / 1.105 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006826/1.157, allocations: 99.31 kB / 1.105 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006048/1.163, allocations: 1.539 MB / 1.106 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/1.178, allocations: 5.608 MB / 1.112 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00694/1.185, allocations: 2.358 MB / 1.114 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01471/1.2, allocations: 12.35 MB / 1.126 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/1.205, allocations: 2.987 MB / 1.129 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/1.219, allocations: 3.541 MB / 1.132 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008488/1.227, allocations: 2.927 MB / 1.135 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/1.229, allocations: 156 kB / 1.135 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.242, allocations: 5.28 MB / 1.141 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002768/1.245, allocations: 1.41 MB / 1.142 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003796/1.249, allocations: 1.879 MB / 1.144 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.261, allocations: 6.736 MB / 1.15 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.261, allocations: 0 / 1.15 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.896e-06/1.261, allocations: 4 kB / 1.15 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001718/1.261, allocations: 0 / 1.15 GB, free: 8.648 MB / 0.8575 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.006691/1.268, allocations: 3.417 MB / 1.154 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.268, allocations: 8.031 kB / 1.154 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006029/1.274, allocations: 0.9322 MB / 1.155 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/1.279, allocations: 2.232 MB / 1.157 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/1.279, allocations: 289.2 kB / 1.157 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006406/1.28, allocations: 291.9 kB / 1.157 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006408/1.286, allocations: 3.355 MB / 1.161 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/1.286, allocations: 0 / 1.161 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/1.287, allocations: 120 kB / 1.161 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.287, allocations: 109.3 kB / 1.161 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005048/1.292, allocations: 2.792 MB / 1.164 GB, free: 10.86 MB / 0.8731 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.02069/1.312, allocations: 13.21 MB / 1.176 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/1.315, allocations: 1.827 MB / 1.178 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.317, allocations: 1.106 MB / 1.179 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/1.318, allocations: 329.2 kB / 1.18 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/1.318, allocations: 56.56 kB / 1.18 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/1.318, allocations: 4 kB / 1.18 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.006012/1.324, allocations: 2.732 MB / 1.182 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.324, allocations: 69.41 kB / 1.182 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/1.327, allocations: 1.972 MB / 1.184 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004008/1.328, allocations: 69.7 kB / 1.184 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.329, allocations: 1.398 MB / 1.186 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.33, allocations: 0.6431 MB / 1.186 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.33, allocations: 173.6 kB / 1.187 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.33, allocations: 309.1 kB / 1.187 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.332, allocations: 0.7965 MB / 1.188 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/1.334, allocations: 1.431 MB / 1.189 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/1.337, allocations: 2.26 MB / 1.191 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/1.337, allocations: 4 kB / 1.191 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00431/1.341, allocations: 2.49 MB / 1.194 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003572/1.342, allocations: 488.7 kB / 1.194 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.342, allocations: 12 kB / 1.194 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/1.342, allocations: 24 kB / 1.194 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.344, allocations: 0.5617 MB / 1.195 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.347, allocations: 4.161 MB / 1.199 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/1.35, allocations: 379.2 kB / 1.199 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/1.351, allocations: 87.98 kB / 1.199 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.351, allocations: 4 kB / 1.199 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00367/1.354, allocations: 2.218 MB / 1.201 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.354, allocations: 12 kB / 1.201 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/1.354, allocations: 24 kB / 1.201 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/1.356, allocations: 475.3 kB / 1.202 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/1.356, allocations: 27.92 kB / 1.202 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.359, allocations: 357.2 kB / 1.202 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.36, allocations: 87.98 kB / 1.202 GB, free: 0.9766 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.001751/1.361, allocations: 0.8595 MB / 1.203 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/1.362, allocations: 269 kB / 1.203 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/1.366, allocations: 2.095 MB / 1.205 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.366, allocations: 20 kB / 1.205 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.366, allocations: 0 / 1.205 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002608/1.368, allocations: 1.89 MB / 1.207 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009085/1.377, allocations: 5.157 MB / 1.212 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.377, allocations: 4 kB / 1.212 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.38, allocations: 0.5036 MB / 1.213 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.38, allocations: 12 kB / 1.213 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/1.38, allocations: 51.98 kB / 1.213 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/1.382, allocations: 4.13 MB / 1.217 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.382, allocations: 8.062 kB / 1.217 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/1.387, allocations: 3.359 MB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.389, allocations: 0.5677 MB / 1.221 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/1.389, allocations: 51.81 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.392, allocations: 247.4 kB / 1.221 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.392, allocations: 117.8 kB / 1.221 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.392, allocations: 67.95 kB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002029/1.394, allocations: 1.325 MB / 1.223 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.394, allocations: 0 / 1.223 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004612/1.399, allocations: 1.714 MB / 1.224 GB, free: 10.11 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.0008566/1.4, allocations: 352.5 kB / 1.225 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006421/1.406, allocations: 3.305 MB / 1.228 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.406, allocations: 5.75 kB / 1.228 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/1.408, allocations: 1.031 MB / 1.229 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009981/1.418, allocations: 1.597 MB / 1.23 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.43, allocations: 8.065 MB / 1.238 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/1.432, allocations: 2.185 MB / 1.24 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004085/1.436, allocations: 1.088 MB / 1.241 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/1.437, allocations: 215.4 kB / 1.242 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of SimCode: time 9.02e-07/1.437, allocations: 0 / 1.242 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.5352/1.972, allocations: 52.83 MB / 1.293 GB, free: 358.1 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: