Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.595/2.595, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002393, allocations: 181.9 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.488/2.488, allocations: 205.4 MB / 0.5766 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 98.12 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004886, allocations: 12.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9751/1.2, allocations: 162 MB / 1.057 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02382/1.224, allocations: 12.24 MB / 1.069 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/1.226, allocations: 30.78 kB / 1.069 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/1.229, allocations: 0.4904 MB / 1.07 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007928/1.237, allocations: 1.55 MB / 1.071 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/1.242, allocations: 0.9921 MB / 1.072 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004183/1.246, allocations: 1.494 MB / 1.073 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/1.248, allocations: 0.8245 MB / 1.074 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/1.253, allocations: 1.116 MB / 1.075 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/1.255, allocations: 0.6275 MB / 1.076 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003246/1.255, allocations: 47.22 kB / 1.076 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/1.258, allocations: 0.5328 MB / 1.077 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.26, allocations: 422.1 kB / 1.077 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009916/1.261, allocations: 250 kB / 1.077 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003743/1.264, allocations: 1.319 MB / 1.078 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.264, allocations: 4.969 kB / 1.078 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.346e-06/1.264, allocations: 0 / 1.078 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.051e-05/1.264, allocations: 0 / 1.078 GB, free: 19.54 MB / 0.7136 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.003962/1.268, allocations: 1.227 MB / 1.08 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.268, allocations: 11.78 kB / 1.08 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/1.271, allocations: 251.1 kB / 1.08 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/1.274, allocations: 0.7411 MB / 1.081 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/1.275, allocations: 77.55 kB / 1.081 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/1.275, allocations: 92.34 kB / 1.081 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/1.279, allocations: 1.17 MB / 1.082 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/1.279, allocations: 1.281 kB / 1.082 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/1.279, allocations: 36.34 kB / 1.082 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/1.279, allocations: 36.5 kB / 1.082 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/1.283, allocations: 0.9076 MB / 1.083 GB, free: 18.19 MB / 0.7136 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.01489/1.298, allocations: 5.74 MB / 1.088 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/1.3, allocations: 0.5378 MB / 1.089 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/1.3, allocations: 146.3 kB / 1.089 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.3, allocations: 40.81 kB / 1.089 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.827e-06/1.3, allocations: 0 / 1.089 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002747/1.303, allocations: 0.8141 MB / 1.09 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/1.303, allocations: 82.02 kB / 1.09 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.305, allocations: 0.7376 MB / 1.091 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.305, allocations: 40.64 kB / 1.091 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.305, allocations: 0.5002 MB / 1.091 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.306, allocations: 186.2 kB / 1.091 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/1.306, allocations: 12.22 kB / 1.092 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.306, allocations: 397.4 kB / 1.092 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/1.307, allocations: 246.4 kB / 1.092 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/1.308, allocations: 0.5546 MB / 1.093 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008014/1.308, allocations: 353.2 kB / 1.093 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.308, allocations: 3.609 kB / 1.093 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002706/1.311, allocations: 0.8535 MB / 1.094 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/1.311, allocations: 9.375 kB / 1.094 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.311, allocations: 8.562 kB / 1.094 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.317e-05/1.311, allocations: 17 kB / 1.094 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.313, allocations: 161.6 kB / 1.094 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.036e-05/1.313, allocations: 23.8 kB / 1.094 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.316, allocations: 137 kB / 1.094 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.316, allocations: 38.86 kB / 1.094 GB, free: 12.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.001135/1.318, allocations: 333.3 kB / 1.095 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/1.318, allocations: 90.08 kB / 1.095 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.32, allocations: 0.6208 MB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.32, allocations: 5.844 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.32, allocations: 4.984 kB / 1.095 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/1.322, allocations: 0.519 MB / 1.096 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/1.328, allocations: 1.766 MB / 1.097 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.328, allocations: 0 / 1.097 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.329, allocations: 119.7 kB / 1.098 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.329, allocations: 3.25 kB / 1.098 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/1.329, allocations: 19.89 kB / 1.098 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.329, allocations: 5.875 kB / 1.098 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.329, allocations: 3.438 kB / 1.098 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/1.331, allocations: 1.16 MB / 1.099 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/1.332, allocations: 237.4 kB / 1.099 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.332, allocations: 14.91 kB / 1.099 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.333, allocations: 68.83 kB / 1.099 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.333, allocations: 46.17 kB / 1.099 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/1.333, allocations: 18.97 kB / 1.099 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009801/1.334, allocations: 0.5011 MB / 1.1 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.334, allocations: 0 / 1.1 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001524/1.336, allocations: 295 kB / 1.1 GB, free: 11.19 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.0006662/1.336, allocations: 209 kB / 1.1 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.338, allocations: 0.6225 MB / 1.101 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.338, allocations: 3.125 kB / 1.101 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/1.339, allocations: 276.2 kB / 1.101 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.342, allocations: 425 kB / 1.101 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/1.347, allocations: 2.364 MB / 1.104 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/1.348, allocations: 1.144 MB / 1.105 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001617/1.35, allocations: 271.8 kB / 1.105 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.35, allocations: 82.75 kB / 1.105 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.35, allocations: 3.938 kB / 1.105 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of Templates: time 0.04285/1.393, allocations: 14.75 MB / 1.12 GB, free: 4.289 MB / 0.7136 GB