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.747/0.747, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001018/0.001018, allocations: 165.7 kB / 171.8 MB, free: 2.035 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.338/1.338, allocations: 170.6 MB / 374.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001723/0.001723, allocations: 112.3 kB / 444.8 MB, free: 9.277 MB / 346.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.4844/0.4845, allocations: 73.38 MB / 0.6666 GB, free: 46.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.541, allocations: 2.148 GB / 2.815 GB, free: 178.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/5.542, allocations: 88.95 kB / 2.815 GB, free: 178.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.368/11.91, allocations: 1.724 GB / 4.539 GB, free: 46.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.135e-06/11.91, allocations: 1.875 kB / 4.539 GB, free: 46.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003558/11.91, allocations: 103.3 kB / 4.539 GB, free: 46.16 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.01268/11.92, allocations: 3.796 MB / 4.543 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/11.92, allocations: 10.31 kB / 4.543 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007531/11.93, allocations: 0.9469 MB / 4.544 GB, free: 44.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006922/11.94, allocations: 2.602 MB / 4.546 GB, free: 44.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/11.94, allocations: 188.8 kB / 4.546 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006713/11.94, allocations: 203.3 kB / 4.547 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005468/11.94, allocations: 2.795 MB / 4.549 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007236/11.95, allocations: 3.118 MB / 4.552 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9e-05/11.95, allocations: 4.266 kB / 4.552 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005699/11.95, allocations: 5.469 kB / 4.552 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/11.95, allocations: 114.6 kB / 4.553 GB, free: 43.94 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.02263/11.97, allocations: 14.27 MB / 4.566 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/11.98, allocations: 1.594 MB / 4.568 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/11.98, allocations: 0.9775 MB / 4.569 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/11.98, allocations: 49.08 kB / 4.569 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/11.98, allocations: 66.84 kB / 4.569 GB, free: 36.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=186): time 4.137e-06/11.98, allocations: 0 / 4.569 GB, free: 36.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=186): time 0.00501/11.98, allocations: 2.053 MB / 4.571 GB, free: 36.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/11.98, allocations: 72.94 kB / 4.571 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/11.99, allocations: 1.575 MB / 4.573 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/11.99, allocations: 32.55 kB / 4.573 GB, free: 36.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/11.99, allocations: 1.563 MB / 4.574 GB, free: 35.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/11.99, allocations: 0.6358 MB / 4.575 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/11.99, allocations: 0 / 4.575 GB, free: 35.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/11.99, allocations: 401.1 kB / 4.575 GB, free: 34.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/11.99, allocations: 0.8177 MB / 4.576 GB, free: 34.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/11.99, allocations: 1.581 MB / 4.578 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/11.99, allocations: 1.103 MB / 4.579 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/11.99, allocations: 2.969 kB / 4.579 GB, free: 33.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.003729/12, allocations: 2.518 MB / 4.581 GB, free: 33.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001512/12, allocations: 7.039 MB / 4.588 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/12, allocations: 17.75 kB / 4.588 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.558e-05/12, allocations: 32.84 kB / 4.588 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/12.01, allocations: 2.031 MB / 4.59 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/12.01, allocations: 4.677 MB / 4.595 GB, free: 38.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/12.02, allocations: 443.5 kB / 4.595 GB, free: 38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/12.02, allocations: 99.38 kB / 4.595 GB, free: 38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/12.02, allocations: 4.75 kB / 4.595 GB, free: 38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003575/12.02, allocations: 2.164 MB / 4.597 GB, free: 37.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/12.02, allocations: 18.03 kB / 4.597 GB, free: 37.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.374e-05/12.02, allocations: 32.03 kB / 4.597 GB, free: 37.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/12.02, allocations: 0.5174 MB / 4.598 GB, free: 37.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/12.02, allocations: 41.19 kB / 4.598 GB, free: 37.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/12.03, allocations: 356.6 kB / 4.598 GB, free: 37.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/12.03, allocations: 100.5 kB / 4.598 GB, free: 37.86 MB / 0.698 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.0008481/12.03, allocations: 166.8 kB / 4.598 GB, free: 37.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/12.03, allocations: 274.6 kB / 4.599 GB, free: 37.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/12.03, allocations: 277.2 kB / 4.599 GB, free: 37.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/12.03, allocations: 17.44 kB / 4.599 GB, free: 37.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/12.03, allocations: 2.219 kB / 4.599 GB, free: 37.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00231/12.03, allocations: 1.766 MB / 4.601 GB, free: 37.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/12.04, allocations: 4.748 MB / 4.605 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/12.04, allocations: 1.875 kB / 4.605 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009885/12.05, allocations: 1.936 MB / 4.607 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-05/12.05, allocations: 9.156 kB / 4.607 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/12.05, allocations: 28.34 kB / 4.607 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/12.06, allocations: 9.855 MB / 4.617 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/12.06, allocations: 5.375 kB / 4.617 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/12.07, allocations: 3.282 MB / 4.62 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/12.07, allocations: 0.6152 MB / 4.621 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/12.07, allocations: 13.03 kB / 4.621 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/12.07, allocations: 290 kB / 4.621 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/12.07, allocations: 126.9 kB / 4.621 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/12.07, allocations: 85.67 kB / 4.621 GB, free: 27.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001677/12.07, allocations: 1.156 MB / 4.622 GB, free: 27.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/12.07, allocations: 1.438 kB / 4.622 GB, free: 27.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005671/12.08, allocations: 2.106 MB / 4.624 GB, free: 26.77 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.006659/12.08, allocations: 5.218 MB / 4.629 GB, free: 24.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01333/12.1, allocations: 5.034 MB / 4.634 GB, free: 24.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/12.1, allocations: 3.25 kB / 4.634 GB, free: 24.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01561/12.11, allocations: 3.412 MB / 4.638 GB, free: 24.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00846/12.12, allocations: 1.495 MB / 4.639 GB, free: 24.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/12.13, allocations: 5.768 MB / 4.645 GB, free: 22.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/12.13, allocations: 2.369 MB / 4.647 GB, free: 22.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004871/12.14, allocations: 1.279 MB / 4.648 GB, free: 22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/12.14, allocations: 182.5 kB / 4.649 GB, free: 22 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/12.14, allocations: 2.469 kB / 4.649 GB, free: 22 MB / 0.698 GB Notification: Performance of Templates: time 0.114/12.25, allocations: 79.57 MB / 4.726 GB, free: 15.86 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)