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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1793/0.1801, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6559/0.8361, allocations: 299.1 MB / 0.8862 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03189/0.868, allocations: 24.02 MB / 0.9097 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.873, allocations: 107.2 kB / 0.9098 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006413/0.8795, allocations: 1.812 MB / 0.9115 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01504/0.8946, allocations: 5.221 MB / 0.9166 GB, free: 7.559 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009084/0.9037, allocations: 3.1 MB / 0.9197 GB, free: 4.512 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01687/0.9205, allocations: 14.19 MB / 0.9335 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005478/0.9261, allocations: 3.017 MB / 0.9365 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009389/0.9355, allocations: 3.852 MB / 0.9402 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006744/0.9423, allocations: 3.177 MB / 0.9433 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.9437, allocations: 176 kB / 0.9435 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008845/0.9525, allocations: 4.208 MB / 0.9476 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.9556, allocations: 1.652 MB / 0.9492 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005411/0.961, allocations: 2.148 MB / 0.9513 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.9735, allocations: 7.243 MB / 0.9584 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9736, allocations: 0 / 0.9584 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.536e-06/0.9736, allocations: 0 / 0.9584 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003701/0.974, allocations: 4 kB / 0.9584 GB, free: 12.68 MB / 0.7169 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.009859/0.9839, allocations: 3.751 MB / 0.9621 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9839, allocations: 15.97 kB / 0.9621 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.9901, allocations: 0.9006 MB / 0.963 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.9953, allocations: 2.331 MB / 0.9652 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.9957, allocations: 306.1 kB / 0.9655 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.9967, allocations: 332 kB / 0.9658 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/1.008, allocations: 4.169 MB / 0.9699 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/1.009, allocations: 3.906 kB / 0.9699 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008207/1.009, allocations: 132 kB / 0.97 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/1.01, allocations: 122 kB / 0.9702 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4523/1.462, allocations: 3.52 MB / 0.9736 GB, free: 45 MB / 0.7169 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.02599/1.488, allocations: 15.63 MB / 0.9889 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/1.493, allocations: 2.031 MB / 0.9908 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.494, allocations: 1.077 MB / 0.9919 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/1.495, allocations: 49.02 kB / 0.9919 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/1.495, allocations: 69.05 kB / 0.992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=186): time 5.44e-06/1.495, allocations: 0.7656 kB / 0.992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=186): time 0.008691/1.503, allocations: 3.371 MB / 0.9953 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.503, allocations: 74.44 kB / 0.9954 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/1.509, allocations: 2.29 MB / 0.9976 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004376/1.509, allocations: 73.48 kB / 0.9977 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.511, allocations: 1.561 MB / 0.9992 GB, free: 35.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007175/1.511, allocations: 0.6607 MB / 0.9999 GB, free: 35.33 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/1.512, allocations: 195.8 kB / 1 GB, free: 35.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/1.512, allocations: 304.4 kB / 1 GB, free: 35.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.514, allocations: 1.016 MB / 1.001 GB, free: 35 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/1.517, allocations: 1.807 MB / 1.003 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/1.521, allocations: 2.786 MB / 1.006 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/1.521, allocations: 4.719 kB / 1.006 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.006112/1.527, allocations: 3.131 MB / 1.009 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005229/1.528, allocations: 0.6774 MB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/1.528, allocations: 16.12 kB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.367e-05/1.528, allocations: 29.95 kB / 1.01 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/1.538, allocations: 2.053 MB / 1.012 GB, free: 32.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.553, allocations: 11.32 MB / 1.023 GB, free: 22.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/1.557, allocations: 0.5112 MB / 1.023 GB, free: 22.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/1.558, allocations: 109 kB / 1.023 GB, free: 22.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.558, allocations: 3.469 kB / 1.023 GB, free: 22.61 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005011/1.563, allocations: 2.611 MB / 1.026 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-05/1.563, allocations: 15.03 kB / 1.026 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/1.563, allocations: 28.03 kB / 1.026 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/1.565, allocations: 0.5326 MB / 1.026 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.656e-05/1.565, allocations: 37.41 kB / 1.026 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.569, allocations: 451 kB / 1.027 GB, free: 22.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/1.569, allocations: 95.52 kB / 1.027 GB, free: 22.32 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 3 * 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.002234/1.571, allocations: 0.9346 MB / 1.028 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.572, allocations: 293.7 kB / 1.028 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/1.573, allocations: 325.7 kB / 1.028 GB, free: 21.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.573, allocations: 18.22 kB / 1.028 GB, free: 21.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/1.573, allocations: 3.938 kB / 1.028 GB, free: 21.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003822/1.577, allocations: 2.122 MB / 1.031 GB, free: 21.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.589, allocations: 5.494 MB / 1.036 GB, free: 21.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.589, allocations: 0 / 1.036 GB, free: 21.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009426/1.599, allocations: 1.919 MB / 1.038 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.493e-05/1.599, allocations: 9.297 kB / 1.038 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/1.599, allocations: 54.19 kB / 1.038 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.611, allocations: 11.08 MB / 1.049 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.611, allocations: 2 kB / 1.049 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/1.619, allocations: 3.727 MB / 1.052 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.621, allocations: 0.6538 MB / 1.053 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009802/1.622, allocations: 37.53 kB / 1.053 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.626, allocations: 314.4 kB / 1.053 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/1.626, allocations: 120.7 kB / 1.053 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/1.626, allocations: 92.38 kB / 1.053 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003312/1.63, allocations: 1.531 MB / 1.055 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.713e-06/1.63, allocations: 0 / 1.055 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007172/1.637, allocations: 1.919 MB / 1.057 GB, free: 10.53 MB / 0.7169 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 () * Number of clocked 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 (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.001119/1.638, allocations: 357.4 kB / 1.057 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.654, allocations: 5.667 MB / 1.063 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.655, allocations: 4.406 kB / 1.063 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/1.671, allocations: 3.738 MB / 1.066 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/1.683, allocations: 1.708 MB / 1.068 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.697, allocations: 8.736 MB / 1.077 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.7, allocations: 2.297 MB / 1.079 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005648/1.706, allocations: 1.133 MB / 1.08 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.707, allocations: 230.3 kB / 1.08 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.362e-06/1.707, allocations: 0 / 1.08 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.1065/1.814, allocations: 61.61 MB / 1.14 GB, free: 14.82 MB / 0.795 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: