Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001469/0.001469, 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.001742/0.001742, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.89 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3041, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9139/1.218, allocations: 305.1 MB / 1.366 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03379/1.252, allocations: 25.83 MB / 1.391 GB, free: 6.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005674/1.258, allocations: 132.3 kB / 1.392 GB, free: 6.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005422/1.263, allocations: 1.797 MB / 1.393 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01762/1.281, allocations: 5.963 MB / 1.399 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00796/1.289, allocations: 2.602 MB / 1.402 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01227/1.301, allocations: 8.898 MB / 1.41 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006176/1.307, allocations: 3.617 MB / 1.414 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/1.319, allocations: 4.125 MB / 1.418 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006356/1.325, allocations: 2.964 MB / 1.421 GB, free: 5.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001581/1.327, allocations: 357.6 kB / 1.421 GB, free: 5.969 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.338, allocations: 4.596 MB / 1.426 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002947/1.341, allocations: 1.651 MB / 1.427 GB, free: 2.414 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005543/1.347, allocations: 2.129 MB / 1.429 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01442/1.361, allocations: 6.669 MB / 1.436 GB, free: 10.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.361, allocations: 0 / 1.436 GB, free: 10.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/1.361, allocations: 0 / 1.436 GB, free: 10.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002589/1.362, allocations: 0 / 1.436 GB, free: 10.12 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.009422/1.371, allocations: 4.164 MB / 1.44 GB, free: 5.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.371, allocations: 12.03 kB / 1.44 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/1.377, allocations: 0.9438 MB / 1.441 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/1.382, allocations: 2.264 MB / 1.443 GB, free: 2.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.383, allocations: 281.2 kB / 1.443 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007492/1.384, allocations: 291.9 kB / 1.444 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007649/1.391, allocations: 3.355 MB / 1.447 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/1.391, allocations: 7.922 kB / 1.447 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004712/1.392, allocations: 112 kB / 1.447 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.392, allocations: 109.3 kB / 1.447 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/1.397, allocations: 2.796 MB / 1.45 GB, free: 11.54 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.02107/1.418, allocations: 13.36 MB / 1.463 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/1.422, allocations: 1.692 MB / 1.464 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/1.424, allocations: 1.106 MB / 1.466 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/1.425, allocations: 337.2 kB / 1.466 GB, free: 9.812 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/1.425, allocations: 52.56 kB / 1.466 GB, free: 9.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=182): time 5.381e-06/1.425, allocations: 0 / 1.466 GB, free: 9.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.005832/1.431, allocations: 2.743 MB / 1.469 GB, free: 7.004 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/1.431, allocations: 69.41 kB / 1.469 GB, free: 6.926 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/1.435, allocations: 1.994 MB / 1.471 GB, free: 4.914 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.435, allocations: 69.7 kB / 1.471 GB, free: 4.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.436, allocations: 1.402 MB / 1.472 GB, free: 3.422 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008072/1.437, allocations: 0.643 MB / 1.473 GB, free: 2.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/1.438, allocations: 391.3 kB / 1.473 GB, free: 2.379 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.438, allocations: 301.1 kB / 1.473 GB, free: 2.082 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.439, allocations: 0.8091 MB / 1.474 GB, free: 1.262 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.442, allocations: 1.411 MB / 1.476 GB, free: 15.6 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/1.445, allocations: 2.256 MB / 1.478 GB, free: 13.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/1.445, allocations: 4 kB / 1.478 GB, free: 13.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004625/1.45, allocations: 2.498 MB / 1.48 GB, free: 10.65 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/1.45, allocations: 12 kB / 1.48 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.45, allocations: 15.98 kB / 1.48 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.528e-05/1.45, allocations: 27.94 kB / 1.48 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/1.453, allocations: 0.5621 MB / 1.481 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/1.455, allocations: 4.153 MB / 1.485 GB, free: 5.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/1.459, allocations: 226.1 kB / 1.485 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003653/1.46, allocations: 87.98 kB / 1.485 GB, free: 5.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004242/1.464, allocations: 1.46 MB / 1.487 GB, free: 3.941 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002449/1.466, allocations: 1.402 MB / 1.488 GB, free: 2.285 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003708/1.47, allocations: 2.236 MB / 1.49 GB, free: 15.87 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.346e-05/1.47, allocations: 4 kB / 1.49 GB, free: 15.86 MB / 1.107 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004954/1.475, allocations: 2.486 MB / 1.493 GB, free: 13.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.475, allocations: 13.88 kB / 1.493 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.475, allocations: 15.98 kB / 1.493 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/1.475, allocations: 24 kB / 1.493 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.477, allocations: 471.3 kB / 1.493 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.519e-05/1.477, allocations: 35.86 kB / 1.493 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/1.48, allocations: 182.8 kB / 1.493 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/1.48, allocations: 87.98 kB / 1.493 GB, free: 12.55 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.0005791/1.481, allocations: 305 kB / 1.494 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.482, allocations: 268.8 kB / 1.494 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/1.485, allocations: 2.115 MB / 1.496 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.485, allocations: 20 kB / 1.496 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.485, allocations: 0 / 1.496 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002579/1.488, allocations: 1.886 MB / 1.498 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008462/1.496, allocations: 5.173 MB / 1.503 GB, free: 2.625 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.496, allocations: 4 kB / 1.503 GB, free: 2.621 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.499, allocations: 0.5074 MB / 1.503 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/1.499, allocations: 12 kB / 1.503 GB, free: 2.102 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.499, allocations: 51.98 kB / 1.503 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.501, allocations: 4.118 MB / 1.507 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.501, allocations: 4.031 kB / 1.507 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/1.506, allocations: 3.24 MB / 1.511 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.507, allocations: 0.5638 MB / 1.511 GB, free: 9.887 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/1.507, allocations: 44 kB / 1.511 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.509, allocations: 86.77 kB / 1.511 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/1.509, allocations: 121.7 kB / 1.511 GB, free: 9.645 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.509, allocations: 67.97 kB / 1.511 GB, free: 9.578 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001841/1.511, allocations: 1.334 MB / 1.513 GB, free: 8.234 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.7e-07/1.511, allocations: 0 / 1.513 GB, free: 8.234 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003852/1.515, allocations: 1.714 MB / 1.514 GB, free: 6.516 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.0007454/1.516, allocations: 359.2 kB / 1.515 GB, free: 6.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009076/1.525, allocations: 4.633 MB / 1.519 GB, free: 1.531 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.525, allocations: 5.875 kB / 1.519 GB, free: 1.527 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.527, allocations: 1.031 MB / 1.52 GB, free: 0.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007484/1.534, allocations: 1.528 MB / 1.522 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.545, allocations: 6.591 MB / 1.528 GB, free: 8.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.547, allocations: 2.205 MB / 1.53 GB, free: 6.105 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003936/1.551, allocations: 1.084 MB / 1.531 GB, free: 5.016 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/1.552, allocations: 215.4 kB / 1.532 GB, free: 4.805 MB / 1.139 GB Notification: Performance of SimCode: time 9.72e-07/1.552, allocations: 0 / 1.532 GB, free: 4.805 MB / 1.139 GB Notification: Performance of Templates: time 0.09555/1.647, allocations: 54.17 MB / 1.585 GB, free: 15.28 MB / 1.201 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)