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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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/Buildings 3.0.0/package.mo): time 0.7635/0.7635, allocations: 132.4 MB / 139.9 MB, free: 2.832 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 182.6 kB / 171.8 MB, free: 4.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.259/1.259, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001709/0.001709, allocations: 109.5 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1593/0.1593, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.076/5.236, allocations: 2.148 GB / 2.815 GB, free: 66.73 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/5.236, allocations: 83.95 kB / 2.815 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.448/11.68, allocations: 1.724 GB / 4.539 GB, free: 49.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/11.68, allocations: 2.25 kB / 4.539 GB, free: 49.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003794/11.68, allocations: 104.3 kB / 4.539 GB, free: 49.92 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 788 * Number of variables: 788 Notification: Performance of Generate backend data structure: time 0.01374/11.7, allocations: 3.791 MB / 4.543 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/11.7, allocations: 8.531 kB / 4.543 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007755/11.71, allocations: 0.9421 MB / 4.544 GB, free: 47.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007956/11.71, allocations: 2.605 MB / 4.546 GB, free: 47.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/11.71, allocations: 190.4 kB / 4.546 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/11.72, allocations: 208.4 kB / 4.547 GB, free: 47.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005648/11.72, allocations: 2.792 MB / 4.549 GB, free: 47.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/11.73, allocations: 3.124 MB / 4.552 GB, free: 46.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/11.73, allocations: 1.594 kB / 4.552 GB, free: 46.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/11.73, allocations: 7.797 kB / 4.552 GB, free: 46.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/11.73, allocations: 120.6 kB / 4.553 GB, free: 46.78 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.02023/11.75, allocations: 14.25 MB / 4.566 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/11.75, allocations: 1.595 MB / 4.568 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/11.75, allocations: 0.9784 MB / 4.569 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/11.75, allocations: 52.98 kB / 4.569 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/11.75, allocations: 67.38 kB / 4.569 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=186): time 5.63e-06/11.75, allocations: 2.344 kB / 4.569 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=186): time 0.00491/11.76, allocations: 2.053 MB / 4.571 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/11.76, allocations: 68.5 kB / 4.571 GB, free: 39.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/11.76, allocations: 1.571 MB / 4.573 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004573/11.76, allocations: 37.27 kB / 4.573 GB, free: 38.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/11.76, allocations: 1.56 MB / 4.574 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/11.76, allocations: 0.6395 MB / 4.575 GB, free: 37.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/11.76, allocations: 2.953 kB / 4.575 GB, free: 37.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001366/11.76, allocations: 391.3 kB / 4.575 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/11.76, allocations: 0.8218 MB / 4.576 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/11.76, allocations: 1.581 MB / 4.578 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/11.77, allocations: 1.107 MB / 4.579 GB, free: 34.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/11.77, allocations: 2.625 kB / 4.579 GB, free: 34.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.004115/11.77, allocations: 2.508 MB / 4.581 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/11.77, allocations: 7.042 MB / 4.588 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/11.77, allocations: 18.59 kB / 4.588 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.066e-05/11.77, allocations: 27.22 kB / 4.588 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/11.78, allocations: 2.037 MB / 4.59 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/11.79, allocations: 4.678 MB / 4.595 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/11.79, allocations: 446 kB / 4.595 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/11.79, allocations: 99.75 kB / 4.595 GB, free: 19.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/11.79, allocations: 7.953 kB / 4.595 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003388/11.79, allocations: 2.157 MB / 4.597 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/11.79, allocations: 16 kB / 4.597 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/11.79, allocations: 32 kB / 4.597 GB, free: 17.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/11.8, allocations: 0.5184 MB / 4.598 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/11.8, allocations: 43.72 kB / 4.598 GB, free: 17.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/11.8, allocations: 354.3 kB / 4.598 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/11.8, allocations: 95.75 kB / 4.598 GB, free: 17.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001043/11.8, allocations: 180 kB / 4.598 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/11.8, allocations: 268.8 kB / 4.599 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/11.8, allocations: 278.1 kB / 4.599 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/11.8, allocations: 20 kB / 4.599 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/11.8, allocations: 3.5 kB / 4.599 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/11.81, allocations: 1.765 MB / 4.601 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/11.82, allocations: 4.755 MB / 4.605 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/11.82, allocations: 4 kB / 4.605 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009979/11.83, allocations: 1.927 MB / 4.607 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/11.83, allocations: 11.33 kB / 4.607 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000476/11.83, allocations: 35.41 kB / 4.607 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009931/11.84, allocations: 9.856 MB / 4.617 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/11.84, allocations: 0 / 4.617 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/11.85, allocations: 3.28 MB / 4.62 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/11.85, allocations: 0.6145 MB / 4.621 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/11.85, allocations: 11.98 kB / 4.621 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00424/11.85, allocations: 283.3 kB / 4.621 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/11.85, allocations: 125.9 kB / 4.621 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000437/11.85, allocations: 91.92 kB / 4.621 GB, free: 10.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003248/11.86, allocations: 1.154 MB / 4.622 GB, free: 9.242 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/11.86, allocations: 0 / 4.622 GB, free: 9.242 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009873/11.87, allocations: 2.103 MB / 4.624 GB, free: 7.133 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008605/11.88, allocations: 5.214 MB / 4.629 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.5568/12.43, allocations: 5.028 MB / 4.634 GB, free: 66.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/12.43, allocations: 4.359 kB / 4.634 GB, free: 66.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/12.45, allocations: 3.415 MB / 4.638 GB, free: 66.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009439/12.46, allocations: 1.487 MB / 4.639 GB, free: 66.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/12.47, allocations: 5.769 MB / 4.645 GB, free: 65.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/12.47, allocations: 2.367 MB / 4.647 GB, free: 64.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007118/12.48, allocations: 1.276 MB / 4.648 GB, free: 64.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/12.48, allocations: 182.5 kB / 4.649 GB, free: 64.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/12.48, allocations: 1.812 kB / 4.649 GB, free: 64.76 MB / 0.698 GB Notification: Performance of Templates: time 0.1411/12.62, allocations: 79.59 MB / 4.726 GB, free: 60.05 MB / 0.698 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)