Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001096/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 61.53 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2921, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9359/1.228, allocations: 305.1 MB / 1.366 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03624/1.264, allocations: 25.83 MB / 1.391 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005527/1.27, allocations: 127.2 kB / 1.391 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005408/1.275, allocations: 1.8 MB / 1.393 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/1.292, allocations: 5.966 MB / 1.399 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008903/1.301, allocations: 2.601 MB / 1.402 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01483/1.316, allocations: 8.894 MB / 1.41 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005574/1.321, allocations: 3.623 MB / 1.414 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/1.333, allocations: 4.135 MB / 1.418 GB, free: 7.801 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006909/1.34, allocations: 2.955 MB / 1.421 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002039/1.342, allocations: 364.2 kB / 1.421 GB, free: 6.074 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.355, allocations: 4.598 MB / 1.426 GB, free: 3.617 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003298/1.358, allocations: 1.643 MB / 1.427 GB, free: 2.523 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005612/1.364, allocations: 2.129 MB / 1.429 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.378, allocations: 6.665 MB / 1.436 GB, free: 10.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.378, allocations: 0 / 1.436 GB, free: 10.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/1.378, allocations: 0 / 1.436 GB, free: 10.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002216/1.379, allocations: 0 / 1.436 GB, free: 10.23 MB / 1.045 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.009782/1.388, allocations: 4.18 MB / 1.44 GB, free: 5.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.389, allocations: 8.031 kB / 1.44 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/1.395, allocations: 0.936 MB / 1.441 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/1.401, allocations: 2.264 MB / 1.443 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/1.401, allocations: 273.3 kB / 1.443 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009522/1.402, allocations: 291.9 kB / 1.444 GB, free: 2.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008563/1.411, allocations: 3.363 MB / 1.447 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-05/1.411, allocations: 4 kB / 1.447 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005786/1.412, allocations: 116 kB / 1.447 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/1.412, allocations: 109.3 kB / 1.447 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/1.417, allocations: 2.796 MB / 1.45 GB, free: 11.64 MB / 1.061 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.01837/1.436, allocations: 13.36 MB / 1.463 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/1.439, allocations: 1.689 MB / 1.464 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/1.441, allocations: 1.11 MB / 1.466 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/1.441, allocations: 325.2 kB / 1.466 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/1.441, allocations: 56.56 kB / 1.466 GB, free: 9.855 MB / 1.076 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/1.441, allocations: 0 / 1.466 GB, free: 9.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.00597/1.447, allocations: 2.743 MB / 1.469 GB, free: 7.109 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.448, allocations: 69.41 kB / 1.469 GB, free: 7.031 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/1.451, allocations: 1.998 MB / 1.471 GB, free: 5.016 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003108/1.451, allocations: 65.7 kB / 1.471 GB, free: 4.945 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.453, allocations: 1.406 MB / 1.472 GB, free: 3.523 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/1.453, allocations: 0.6469 MB / 1.473 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007042/1.454, allocations: 387.3 kB / 1.473 GB, free: 2.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.454, allocations: 301.1 kB / 1.473 GB, free: 2.184 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.456, allocations: 0.813 MB / 1.474 GB, free: 1.359 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/1.458, allocations: 1.406 MB / 1.476 GB, free: 15.7 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/1.461, allocations: 2.256 MB / 1.478 GB, free: 13.27 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/1.461, allocations: 4 kB / 1.478 GB, free: 13.26 MB / 1.092 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004715/1.466, allocations: 2.501 MB / 1.48 GB, free: 10.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/1.466, allocations: 8.938 kB / 1.48 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.466, allocations: 16 kB / 1.48 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-05/1.466, allocations: 23.98 kB / 1.48 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/1.469, allocations: 0.5616 MB / 1.481 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/1.471, allocations: 4.149 MB / 1.485 GB, free: 5.828 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/1.474, allocations: 226.2 kB / 1.485 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/1.474, allocations: 87.98 kB / 1.485 GB, free: 5.52 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002753/1.477, allocations: 1.464 MB / 1.487 GB, free: 4.047 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002007/1.479, allocations: 1.402 MB / 1.488 GB, free: 2.391 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003146/1.482, allocations: 2.24 MB / 1.49 GB, free: 15.97 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.18e-05/1.482, allocations: 8 kB / 1.49 GB, free: 15.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.005054/1.487, allocations: 2.478 MB / 1.493 GB, free: 13.47 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.487, allocations: 8 kB / 1.493 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.487, allocations: 16 kB / 1.493 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/1.487, allocations: 24 kB / 1.493 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.489, allocations: 479.9 kB / 1.493 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-05/1.489, allocations: 31.92 kB / 1.493 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.492, allocations: 178.6 kB / 1.493 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.492, allocations: 91.98 kB / 1.493 GB, free: 12.66 MB / 1.107 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.0006583/1.493, allocations: 311.6 kB / 1.494 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.494, allocations: 268.8 kB / 1.494 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/1.497, allocations: 2.111 MB / 1.496 GB, free: 9.957 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.498, allocations: 16 kB / 1.496 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.498, allocations: 4 kB / 1.496 GB, free: 9.938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002694/1.5, allocations: 1.89 MB / 1.498 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/1.509, allocations: 5.169 MB / 1.503 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.509, allocations: 4 kB / 1.503 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.511, allocations: 0.4958 MB / 1.503 GB, free: 2.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.93e-05/1.511, allocations: 11.98 kB / 1.503 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.511, allocations: 55.92 kB / 1.503 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.513, allocations: 4.122 MB / 1.507 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.513, allocations: 7.938 kB / 1.507 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/1.518, allocations: 3.234 MB / 1.511 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.519, allocations: 0.5677 MB / 1.511 GB, free: 9.988 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/1.52, allocations: 40 kB / 1.511 GB, free: 9.949 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.522, allocations: 86.56 kB / 1.511 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/1.522, allocations: 113.8 kB / 1.511 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.522, allocations: 71.97 kB / 1.511 GB, free: 9.688 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002086/1.524, allocations: 1.338 MB / 1.513 GB, free: 8.34 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.524, allocations: 0 / 1.513 GB, free: 8.34 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004154/1.528, allocations: 1.714 MB / 1.514 GB, free: 6.621 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,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.0007052/1.529, allocations: 357.1 kB / 1.515 GB, free: 6.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00893/1.538, allocations: 4.634 MB / 1.519 GB, free: 1.641 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.538, allocations: 8.25 kB / 1.519 GB, free: 1.633 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/1.54, allocations: 1.022 MB / 1.52 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007265/1.547, allocations: 1.538 MB / 1.522 GB, free: 15.1 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.56, allocations: 6.596 MB / 1.528 GB, free: 8.441 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/1.562, allocations: 2.189 MB / 1.53 GB, free: 6.223 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004099/1.566, allocations: 1.099 MB / 1.531 GB, free: 5.117 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/1.567, allocations: 211.4 kB / 1.532 GB, free: 4.91 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/1.567, allocations: 0 / 1.532 GB, free: 4.91 MB / 1.139 GB Notification: Performance of Templates: time 0.08643/1.654, allocations: 54.16 MB / 1.585 GB, free: 15.39 MB / 1.201 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)