Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",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.217/2.217, allocations: 251 MB / 265.9 MB, free: 11.73 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 177.6 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.00129/0.001289, allocations: 114.9 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004877, allocations: 12.25 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.476/7.707, allocations: 2.246 GB / 3.145 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/7.708, allocations: 101.4 kB / 3.145 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/11.22, allocations: 0.638 GB / 3.783 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.456e-06/11.22, allocations: 0 / 3.783 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001518/11.22, allocations: 34.27 kB / 3.783 GB, free: 173.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005666/11.22, allocations: 1.459 MB / 3.784 GB, free: 173 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/11.22, allocations: 7.156 kB / 3.784 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006434/11.23, allocations: 148.7 kB / 3.784 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/11.23, allocations: 257 kB / 3.785 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/11.23, allocations: 1.105 MB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/11.23, allocations: 69.47 kB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/11.23, allocations: 102.5 kB / 3.786 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/11.24, allocations: 1.126 MB / 3.787 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/11.24, allocations: 6.109 kB / 3.787 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/11.24, allocations: 40.22 kB / 3.787 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/11.24, allocations: 34.66 kB / 3.787 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/11.24, allocations: 0.8496 MB / 3.788 GB, free: 172.4 MB / 0.8855 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.009545/11.25, allocations: 5.685 MB / 3.793 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/11.25, allocations: 0.5285 MB / 3.794 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/11.25, allocations: 310.8 kB / 3.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/11.25, allocations: 41.31 kB / 3.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 3.417e-06/11.25, allocations: 0 / 3.794 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.002536/11.25, allocations: 0.7704 MB / 3.795 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/11.25, allocations: 57.16 kB / 3.795 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/11.26, allocations: 0.6535 MB / 3.796 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/11.26, allocations: 40.3 kB / 3.796 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/11.26, allocations: 0.4901 MB / 3.796 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/11.26, allocations: 178.1 kB / 3.796 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/11.26, allocations: 15.66 kB / 3.796 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001623/11.26, allocations: 390.4 kB / 3.797 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/11.26, allocations: 238.6 kB / 3.797 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/11.26, allocations: 0.5633 MB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/11.26, allocations: 345.8 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/11.26, allocations: 3.656 kB / 3.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002125/11.26, allocations: 0.8302 MB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/11.26, allocations: 8.719 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/11.26, allocations: 11.41 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/11.26, allocations: 11.09 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/11.26, allocations: 154.1 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/11.26, allocations: 18.8 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/11.26, allocations: 138.9 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/11.26, allocations: 41.8 kB / 3.799 GB, free: 167 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007846/11.27, allocations: 333.7 kB / 3.799 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/11.27, allocations: 84.53 kB / 3.799 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/11.27, allocations: 0.5971 MB / 3.8 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/11.27, allocations: 13.69 kB / 3.8 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/11.27, allocations: 1.062 kB / 3.8 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/11.27, allocations: 0.4993 MB / 3.801 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/11.27, allocations: 1.649 MB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/11.27, allocations: 2.656 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/11.27, allocations: 113.5 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/11.27, allocations: 7.438 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/11.27, allocations: 17.06 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/11.27, allocations: 13.28 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/11.27, allocations: 3.812 kB / 3.802 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/11.28, allocations: 1.103 MB / 3.803 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/11.28, allocations: 225.3 kB / 3.804 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/11.28, allocations: 16.11 kB / 3.804 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/11.28, allocations: 67.7 kB / 3.804 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/11.28, allocations: 31.25 kB / 3.804 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/11.28, allocations: 20.5 kB / 3.804 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001314/11.28, allocations: 0.5033 MB / 3.804 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/11.28, allocations: 0 / 3.804 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002831/11.28, allocations: 488.9 kB / 3.805 GB, free: 165.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006493/11.29, allocations: 3.922 MB / 3.809 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00161/11.29, allocations: 0.5899 MB / 3.809 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/11.29, allocations: 0 / 3.809 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006633/11.29, allocations: 273 kB / 3.809 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/11.3, allocations: 431.8 kB / 3.81 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/11.31, allocations: 10.8 MB / 3.82 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/11.31, allocations: 1.137 MB / 3.821 GB, free: 156 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001626/11.31, allocations: 266.1 kB / 3.822 GB, free: 156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/11.31, allocations: 352.7 kB / 3.822 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/11.31, allocations: 0 / 3.822 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/11.43, allocations: 51.12 MB / 3.872 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/11.43, allocations: 212.8 kB / 3.872 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/16.03, allocations: 0 / 3.872 GB, free: 154.7 MB / 0.8855 GB