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.7044/0.7044, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001066/0.001065, allocations: 174.5 kB / 176.9 MB, free: 2.293 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.369/1.369, allocations: 170.5 MB / 379.3 MB, free: 11.8 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.001587/0.001586, allocations: 114.1 kB / 450 MB, free: 5.781 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.4955/0.4956, allocations: 73.39 MB / 0.6736 GB, free: 47.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.137/5.633, allocations: 2.149 GB / 2.823 GB, free: 209.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/5.633, allocations: 85.47 kB / 2.823 GB, free: 209.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.582/11.22, allocations: 1.744 GB / 4.567 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/11.22, allocations: 0 / 4.567 GB, free: 2.086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003525/11.22, allocations: 99.97 kB / 4.567 GB, free: 1.988 MB / 0.698 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.4913/11.71, allocations: 3.79 MB / 4.57 GB, free: 49.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/11.71, allocations: 16.3 kB / 4.57 GB, free: 49.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007699/11.71, allocations: 0.9421 MB / 4.571 GB, free: 49.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007504/11.72, allocations: 2.602 MB / 4.574 GB, free: 49.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/11.72, allocations: 309.2 kB / 4.574 GB, free: 49.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/11.72, allocations: 338.1 kB / 4.575 GB, free: 49.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009806/11.73, allocations: 3.813 MB / 4.578 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.37e-05/11.73, allocations: 4.625 kB / 4.578 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/11.73, allocations: 133.3 kB / 4.578 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.756e-05/11.73, allocations: 117.7 kB / 4.579 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006305/11.74, allocations: 3.186 MB / 4.582 GB, free: 48.86 MB / 0.698 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.02115/11.76, allocations: 14.9 MB / 4.596 GB, free: 41.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/11.77, allocations: 1.879 MB / 4.598 GB, free: 41.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/11.77, allocations: 1.026 MB / 4.599 GB, free: 41.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/11.77, allocations: 52.72 kB / 4.599 GB, free: 41.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/11.77, allocations: 65.14 kB / 4.599 GB, free: 41.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=186): time 4.188e-06/11.77, allocations: 0 / 4.599 GB, free: 41.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=186): time 0.00631/11.77, allocations: 2.386 MB / 4.601 GB, free: 41.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/11.77, allocations: 72.81 kB / 4.602 GB, free: 41.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/11.78, allocations: 1.962 MB / 4.603 GB, free: 41.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004543/11.78, allocations: 75.45 kB / 4.604 GB, free: 41.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009833/11.78, allocations: 1.545 MB / 4.605 GB, free: 40.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/11.78, allocations: 0.6579 MB / 4.606 GB, free: 40.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/11.78, allocations: 47.09 kB / 4.606 GB, free: 40.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000163/11.78, allocations: 403 kB / 4.606 GB, free: 40.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/11.78, allocations: 0.8724 MB / 4.607 GB, free: 40.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/11.78, allocations: 1.657 MB / 4.609 GB, free: 39.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/11.78, allocations: 1.245 MB / 4.61 GB, free: 39.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/11.78, allocations: 4.375 kB / 4.61 GB, free: 39.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.004501/11.79, allocations: 2.845 MB / 4.613 GB, free: 38.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001194/11.79, allocations: 7.127 MB / 4.62 GB, free: 31.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/11.79, allocations: 14.5 kB / 4.62 GB, free: 31.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.553e-05/11.79, allocations: 29.53 kB / 4.62 GB, free: 31.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009474/11.8, allocations: 1.939 MB / 4.621 GB, free: 31.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/11.8, allocations: 4.644 MB / 4.626 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/11.81, allocations: 0.5127 MB / 4.626 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/11.81, allocations: 102.7 kB / 4.627 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/11.81, allocations: 3.938 kB / 4.627 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003968/11.81, allocations: 2.532 MB / 4.629 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/11.81, allocations: 16.38 kB / 4.629 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/11.81, allocations: 30.88 kB / 4.629 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/11.82, allocations: 0.5292 MB / 4.63 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/11.82, allocations: 42.17 kB / 4.63 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/11.82, allocations: 433.8 kB / 4.63 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/11.82, allocations: 95.7 kB / 4.63 GB, free: 42.82 MB / 0.7136 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 (296): * Single equations (assignments): 286 * 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.0008455/11.82, allocations: 260.1 kB / 4.63 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008423/11.82, allocations: 288.8 kB / 4.631 GB, free: 42.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/11.82, allocations: 316.5 kB / 4.631 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/11.82, allocations: 18.16 kB / 4.631 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/11.82, allocations: 2.094 kB / 4.631 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002703/11.83, allocations: 1.864 MB / 4.633 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009748/11.84, allocations: 5.249 MB / 4.638 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/11.84, allocations: 1.938 kB / 4.638 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01017/11.85, allocations: 1.934 MB / 4.64 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-05/11.85, allocations: 9.969 kB / 4.64 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/11.85, allocations: 57.17 kB / 4.64 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/11.86, allocations: 10.19 MB / 4.65 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/11.86, allocations: 2.906 kB / 4.65 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/11.86, allocations: 3.442 MB / 4.653 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/11.87, allocations: 0.6455 MB / 4.654 GB, free: 31.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/11.87, allocations: 39.55 kB / 4.654 GB, free: 31.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/11.87, allocations: 326.6 kB / 4.654 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/11.87, allocations: 123.3 kB / 4.654 GB, free: 31.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/11.87, allocations: 91.28 kB / 4.654 GB, free: 31.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002063/11.87, allocations: 1.48 MB / 4.656 GB, free: 31.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/11.87, allocations: 0 / 4.656 GB, free: 31.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006578/11.88, allocations: 2.317 MB / 4.658 GB, free: 31.22 MB / 0.7136 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.007068/11.89, allocations: 4.784 MB / 4.663 GB, free: 28.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01344/11.9, allocations: 5.162 MB / 4.668 GB, free: 28.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/11.9, allocations: 5.5 kB / 4.668 GB, free: 28.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/11.91, allocations: 3.454 MB / 4.671 GB, free: 28.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008931/11.92, allocations: 1.691 MB / 4.673 GB, free: 28.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/11.93, allocations: 5.915 MB / 4.679 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/11.94, allocations: 2.368 MB / 4.681 GB, free: 26.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005925/11.94, allocations: 1.4 MB / 4.682 GB, free: 26.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/11.94, allocations: 189.1 kB / 4.682 GB, free: 26.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.984e-06/11.94, allocations: 0 / 4.682 GB, free: 26.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.1533/12.09, allocations: 121.3 MB / 4.801 GB, free: 2.551 MB / 0.7136 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)