Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, allocations: 248.5 MB / 261.1 MB, free: 6.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 179.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 97.78 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.719e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.305/7.516, allocations: 2.253 GB / 3.144 GB, free: 81.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/7.516, allocations: 85.52 kB / 3.144 GB, free: 81.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.09/18.61, allocations: 1.982 GB / 5.126 GB, free: 73.44 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.374e-06/18.61, allocations: 1.781 kB / 5.126 GB, free: 73.44 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004823/18.61, allocations: 96.28 kB / 5.126 GB, free: 73.42 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01397/18.62, allocations: 3.48 MB / 5.129 GB, free: 71.91 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/18.62, allocations: 10.62 kB / 5.129 GB, free: 71.91 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001747/18.62, allocations: 395.8 kB / 5.129 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/18.63, allocations: 0.9309 MB / 5.13 GB, free: 71.66 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/18.65, allocations: 2.872 MB / 5.133 GB, free: 71.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/18.65, allocations: 277.9 kB / 5.133 GB, free: 71 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/18.65, allocations: 305.5 kB / 5.134 GB, free: 71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/18.67, allocations: 3.166 MB / 5.137 GB, free: 70.74 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/18.67, allocations: 3.922 kB / 5.137 GB, free: 70.74 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/18.67, allocations: 115 kB / 5.137 GB, free: 70.74 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/18.67, allocations: 107.8 kB / 5.137 GB, free: 70.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/18.68, allocations: 2.585 MB / 5.14 GB, free: 70.7 MB / 0.9323 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.04092/18.73, allocations: 13.23 MB / 5.152 GB, free: 63.38 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006588/18.73, allocations: 1.729 MB / 5.154 GB, free: 63.32 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/18.74, allocations: 1.045 MB / 5.155 GB, free: 63.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/18.74, allocations: 335.3 kB / 5.155 GB, free: 63.01 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/18.74, allocations: 59.38 kB / 5.156 GB, free: 62.97 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 8.846e-06/18.74, allocations: 0 / 5.156 GB, free: 62.97 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.01071/18.75, allocations: 1.917 MB / 5.157 GB, free: 62.76 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/18.75, allocations: 74.72 kB / 5.157 GB, free: 62.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00668/18.75, allocations: 1.684 MB / 5.159 GB, free: 62.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008674/18.76, allocations: 68.36 kB / 5.159 GB, free: 62.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/18.76, allocations: 1.402 MB / 5.161 GB, free: 61.89 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/18.76, allocations: 0.6413 MB / 5.161 GB, free: 61.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/18.76, allocations: 37.34 kB / 5.161 GB, free: 61.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002729/18.76, allocations: 388.7 kB / 5.162 GB, free: 61.18 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/18.76, allocations: 0.7416 MB / 5.162 GB, free: 61.17 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004473/18.77, allocations: 1.405 MB / 5.164 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005226/18.77, allocations: 1.022 MB / 5.165 GB, free: 60.36 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.292e-05/18.77, allocations: 7.703 kB / 5.165 GB, free: 60.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00732/18.78, allocations: 2.38 MB / 5.167 GB, free: 60.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/18.78, allocations: 5.502 MB / 5.172 GB, free: 54.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/18.78, allocations: 14.28 kB / 5.172 GB, free: 54.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.095e-05/18.78, allocations: 24.03 kB / 5.172 GB, free: 54.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/18.79, allocations: 0.5132 MB / 5.173 GB, free: 54.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/18.79, allocations: 4.16 MB / 5.177 GB, free: 50.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/18.8, allocations: 377.3 kB / 5.177 GB, free: 49.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000663/18.8, allocations: 92.08 kB / 5.177 GB, free: 49.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/18.8, allocations: 5.438 kB / 5.177 GB, free: 49.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006208/18.8, allocations: 2.12 MB / 5.179 GB, free: 49.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/18.8, allocations: 13.84 kB / 5.18 GB, free: 49.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/18.8, allocations: 35.64 kB / 5.18 GB, free: 49.85 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/18.81, allocations: 468.8 kB / 5.18 GB, free: 49.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.11e-05/18.81, allocations: 32.89 kB / 5.18 GB, free: 49.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005882/18.81, allocations: 348.4 kB / 5.18 GB, free: 49.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006096/18.81, allocations: 87.89 kB / 5.18 GB, free: 49.73 MB / 0.9323 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 () * 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 (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.0009136/18.81, allocations: 246.3 kB / 5.181 GB, free: 49.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/18.82, allocations: 269.4 kB / 5.181 GB, free: 49.45 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/18.82, allocations: 2.017 MB / 5.183 GB, free: 49.33 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/18.82, allocations: 17.69 kB / 5.183 GB, free: 49.33 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/18.82, allocations: 0 / 5.183 GB, free: 49.33 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004473/18.83, allocations: 1.798 MB / 5.185 GB, free: 49.02 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/18.84, allocations: 5.086 MB / 5.19 GB, free: 48.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/18.84, allocations: 2.656 kB / 5.19 GB, free: 48.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004915/18.85, allocations: 0.5178 MB / 5.19 GB, free: 48.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-05/18.85, allocations: 8.906 kB / 5.19 GB, free: 48.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/18.85, allocations: 54.33 kB / 5.19 GB, free: 48.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/18.85, allocations: 4.125 MB / 5.194 GB, free: 44.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/18.85, allocations: 6.438 kB / 5.194 GB, free: 44.33 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008098/18.86, allocations: 3.455 MB / 5.198 GB, free: 43.58 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/18.86, allocations: 0.5843 MB / 5.198 GB, free: 43.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/18.86, allocations: 47.16 kB / 5.198 GB, free: 43.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005228/18.87, allocations: 265.6 kB / 5.198 GB, free: 43.19 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/18.87, allocations: 118.4 kB / 5.199 GB, free: 43.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/18.87, allocations: 69.92 kB / 5.199 GB, free: 43.16 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003301/18.87, allocations: 1.287 MB / 5.2 GB, free: 42.65 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.122e-06/18.87, allocations: 1.875 kB / 5.2 GB, free: 42.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009734/18.88, allocations: 2.157 MB / 5.202 GB, free: 42.08 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (182): * Single equations (assignments): 175 * 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.01776/18.9, allocations: 9.432 MB / 5.211 GB, free: 36.79 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01061/18.91, allocations: 3.181 MB / 5.214 GB, free: 35.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/18.91, allocations: 0 / 5.214 GB, free: 35.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003436/18.91, allocations: 0.9774 MB / 5.215 GB, free: 35.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/18.93, allocations: 1.569 MB / 5.217 GB, free: 35.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/18.95, allocations: 6.36 MB / 5.223 GB, free: 30.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/18.95, allocations: 2.263 MB / 5.225 GB, free: 29 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008929/18.96, allocations: 1.328 MB / 5.227 GB, free: 28.14 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002714/18.96, allocations: 1.222 MB / 5.228 GB, free: 27.01 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/18.96, allocations: 0 / 5.228 GB, free: 27.01 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/20.11, allocations: 150.9 MB / 5.375 GB, free: 92.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/20.11, allocations: 227.4 kB / 5.375 GB, free: 92.76 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/30.27, allocations: 0 / 5.375 GB, free: 92.76 MB / 0.9636 GB