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.256/2.256, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001424/0.001424, allocations: 174.1 kB / 315.4 MB, free: 4.012 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.085/2.085, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 90.38 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.372e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.087/7.284, allocations: 2.246 GB / 3.13 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/7.284, allocations: 89.83 kB / 3.13 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.485/10.77, allocations: 0.6298 GB / 3.76 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.258e-06/10.77, allocations: 0 / 3.76 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001167/10.77, allocations: 35.22 kB / 3.76 GB, free: 142.7 MB / 0.8698 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.004152/10.77, allocations: 1.321 MB / 3.761 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/10.77, allocations: 8.031 kB / 3.761 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/10.78, allocations: 247.5 kB / 3.762 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/10.78, allocations: 1.11 MB / 3.763 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/10.78, allocations: 28 kB / 3.763 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/10.78, allocations: 56 kB / 3.763 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002188/10.78, allocations: 0.7614 MB / 3.764 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/10.79, allocations: 0.9822 MB / 3.764 GB, free: 138 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/10.79, allocations: 4 kB / 3.764 GB, free: 138 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/10.79, allocations: 0 / 3.764 GB, free: 138 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/10.79, allocations: 37.98 kB / 3.765 GB, free: 138 MB / 0.8698 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.007916/10.79, allocations: 5.504 MB / 3.77 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/10.79, allocations: 0.5001 MB / 3.77 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/10.8, allocations: 282.6 kB / 3.771 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/10.8, allocations: 310.2 kB / 3.771 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/10.8, allocations: 35 kB / 3.771 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.327e-06/10.8, allocations: 4 kB / 3.771 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001979/10.8, allocations: 0.5693 MB / 3.772 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/10.8, allocations: 55.84 kB / 3.772 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/10.8, allocations: 0.5153 MB / 3.772 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/10.8, allocations: 25.7 kB / 3.772 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/10.8, allocations: 0.4985 MB / 3.773 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/10.8, allocations: 177.4 kB / 3.773 GB, free: 129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/10.8, allocations: 0 / 3.773 GB, free: 129 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/10.8, allocations: 382.8 kB / 3.773 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/10.8, allocations: 221.5 kB / 3.773 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/10.8, allocations: 0.524 MB / 3.774 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/10.8, allocations: 352.8 kB / 3.774 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/10.8, allocations: 4 kB / 3.774 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001926/10.8, allocations: 0.765 MB / 3.775 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/10.8, allocations: 12 kB / 3.775 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/10.8, allocations: 11.28 kB / 3.775 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/10.8, allocations: 12 kB / 3.775 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/10.81, allocations: 159.7 kB / 3.775 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/10.81, allocations: 15.94 kB / 3.775 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/10.81, allocations: 115.3 kB / 3.775 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/10.81, allocations: 36 kB / 3.775 GB, free: 126.3 MB / 0.8698 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 () * 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.0002081/10.81, allocations: 128.7 kB / 3.775 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001382/10.81, allocations: 0.5382 MB / 3.776 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/10.81, allocations: 75.06 kB / 3.776 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/10.81, allocations: 0.5738 MB / 3.777 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/10.81, allocations: 8 kB / 3.777 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/10.81, allocations: 0 / 3.777 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/10.81, allocations: 0.4977 MB / 3.777 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/10.82, allocations: 1.528 MB / 3.779 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/10.82, allocations: 4 kB / 3.779 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/10.82, allocations: 111.9 kB / 3.779 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/10.82, allocations: 4.219 kB / 3.779 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/10.82, allocations: 12 kB / 3.779 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/10.82, allocations: 4 kB / 3.779 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/10.82, allocations: 3.938 kB / 3.779 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/10.82, allocations: 1.09 MB / 3.78 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/10.82, allocations: 216 kB / 3.78 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/10.82, allocations: 7.984 kB / 3.78 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/10.82, allocations: 55.88 kB / 3.78 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/10.82, allocations: 39.8 kB / 3.78 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/10.82, allocations: 23.98 kB / 3.78 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006854/10.82, allocations: 395.1 kB / 3.78 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.21e-07/10.82, allocations: 0 / 3.78 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001872/10.82, allocations: 411.1 kB / 3.781 GB, free: 120.4 MB / 0.8698 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 () * 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.005649/10.83, allocations: 4.136 MB / 3.785 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001365/10.83, allocations: 0.5449 MB / 3.785 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/10.83, allocations: 0 / 3.785 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/10.83, allocations: 248.3 kB / 3.786 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/10.83, allocations: 356.1 kB / 3.786 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/10.84, allocations: 1.734 MB / 3.788 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/10.84, allocations: 1.137 MB / 3.789 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00146/10.84, allocations: 250.6 kB / 3.789 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006886/10.84, allocations: 351.3 kB / 3.789 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/10.84, allocations: 0 / 3.789 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/10.94, allocations: 34.18 MB / 3.823 GB, free: 77.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/10.94, allocations: 167.7 kB / 3.823 GB, free: 77.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/14.93, allocations: 3.094 kB / 3.823 GB, free: 77.54 MB / 0.8698 GB