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.195/2.195, allocations: 248.5 MB / 261.1 MB, free: 6.035 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.001578/0.001578, allocations: 170.8 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 1.985/1.985, allocations: 205.1 MB / 0.571 GB, free: 11.79 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.001104/0.001104, allocations: 97.86 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.913e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.41/7.623, allocations: 2.246 GB / 3.136 GB, free: 89.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/7.624, allocations: 90.02 kB / 3.137 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.458/11.08, allocations: 0.6373 GB / 3.774 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/11.08, allocations: 0 / 3.774 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001011/11.08, allocations: 35.05 kB / 3.774 GB, free: 111.3 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.003603/11.09, allocations: 1.315 MB / 3.775 GB, free: 110 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/11.09, allocations: 12.03 kB / 3.775 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/11.09, allocations: 143.6 kB / 3.775 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/11.09, allocations: 251.5 kB / 3.776 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/11.09, allocations: 1.109 MB / 3.777 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/11.09, allocations: 70 kB / 3.777 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/11.09, allocations: 99.94 kB / 3.777 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/11.09, allocations: 1.111 MB / 3.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/11.09, allocations: 0 / 3.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/11.09, allocations: 44 kB / 3.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/11.09, allocations: 33.98 kB / 3.778 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/11.1, allocations: 0.8315 MB / 3.779 GB, free: 106.1 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.00803/11.1, allocations: 5.694 MB / 3.784 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/11.11, allocations: 0.5283 MB / 3.785 GB, free: 99.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/11.11, allocations: 302.6 kB / 3.785 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/11.11, allocations: 311.8 kB / 3.785 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/11.11, allocations: 39 kB / 3.786 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.197e-06/11.11, allocations: 4 kB / 3.786 GB, free: 98.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001841/11.11, allocations: 0.5693 MB / 3.786 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/11.11, allocations: 59.78 kB / 3.786 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/11.11, allocations: 0.633 MB / 3.787 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/11.11, allocations: 41.7 kB / 3.787 GB, free: 97.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/11.11, allocations: 0.4909 MB / 3.787 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/11.11, allocations: 181.5 kB / 3.787 GB, free: 96.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/11.11, allocations: 16 kB / 3.787 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000145/11.11, allocations: 390.7 kB / 3.788 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/11.11, allocations: 233.5 kB / 3.788 GB, free: 96.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/11.11, allocations: 0.5493 MB / 3.789 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/11.11, allocations: 343.4 kB / 3.789 GB, free: 95.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/11.11, allocations: 4 kB / 3.789 GB, free: 95.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001933/11.12, allocations: 0.8071 MB / 3.79 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/11.12, allocations: 8 kB / 3.79 GB, free: 94.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/11.12, allocations: 8 kB / 3.79 GB, free: 94.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.116e-05/11.12, allocations: 16.78 kB / 3.79 GB, free: 94.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/11.12, allocations: 155.7 kB / 3.79 GB, free: 94.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/11.12, allocations: 19.94 kB / 3.79 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/11.12, allocations: 135 kB / 3.79 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/11.12, allocations: 36 kB / 3.79 GB, free: 93.88 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.0002322/11.12, allocations: 152.7 kB / 3.79 GB, free: 93.72 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/11.12, allocations: 86.97 kB / 3.79 GB, free: 93.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/11.12, allocations: 0.6019 MB / 3.791 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/11.12, allocations: 4 kB / 3.791 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/11.12, allocations: 0 / 3.791 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009859/11.12, allocations: 0.4938 MB / 3.791 GB, free: 92.51 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/11.13, allocations: 1.651 MB / 3.793 GB, free: 90.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/11.13, allocations: 0 / 3.793 GB, free: 90.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/11.13, allocations: 115.9 kB / 3.793 GB, free: 90.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/11.13, allocations: 4 kB / 3.793 GB, free: 90.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/11.13, allocations: 20.2 kB / 3.793 GB, free: 90.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/11.13, allocations: 4 kB / 3.793 GB, free: 90.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/11.13, allocations: 11.89 kB / 3.793 GB, free: 90.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/11.13, allocations: 1.081 MB / 3.794 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/11.13, allocations: 236.1 kB / 3.794 GB, free: 89.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/11.13, allocations: 19.97 kB / 3.794 GB, free: 89.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/11.13, allocations: 75.69 kB / 3.795 GB, free: 89.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/11.13, allocations: 35.89 kB / 3.795 GB, free: 89.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/11.13, allocations: 15.98 kB / 3.795 GB, free: 89.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000872/11.13, allocations: 0.4952 MB / 3.795 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/11.13, allocations: 0 / 3.795 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002023/11.13, allocations: 483.3 kB / 3.796 GB, free: 88.11 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.005393/11.14, allocations: 3.924 MB / 3.799 GB, free: 84.05 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001542/11.14, allocations: 0.5772 MB / 3.8 GB, free: 83.47 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/11.14, allocations: 0 / 3.8 GB, free: 83.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005213/11.14, allocations: 268.4 kB / 3.8 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/11.14, allocations: 433.3 kB / 3.801 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/11.15, allocations: 1.783 MB / 3.802 GB, free: 80.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/11.15, allocations: 1.138 MB / 3.803 GB, free: 79.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001439/11.15, allocations: 267 kB / 3.804 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/11.15, allocations: 359.3 kB / 3.804 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.442e-06/11.15, allocations: 0 / 3.804 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/11.29, allocations: 55.98 MB / 3.859 GB, free: 23.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/11.29, allocations: 198.5 kB / 3.859 GB, free: 23.15 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/16.24, allocations: 0 / 3.859 GB, free: 23.15 MB / 0.8698 GB