Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.496/2.496, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 175.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001016, allocations: 104 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 17.31 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8167/0.9715, allocations: 161.8 MB / 1.137 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.9907, allocations: 12.15 MB / 1.149 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.9921, allocations: 24.22 kB / 1.149 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.994, allocations: 0.4996 MB / 1.149 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/1, allocations: 1.524 MB / 1.151 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/1.004, allocations: 0.9401 MB / 1.152 GB, free: 8.496 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00327/1.007, allocations: 1.466 MB / 1.153 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/1.009, allocations: 0.8343 MB / 1.154 GB, free: 7.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/1.012, allocations: 1.1 MB / 1.155 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/1.014, allocations: 0.6264 MB / 1.155 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/1.014, allocations: 48.31 kB / 1.156 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/1.016, allocations: 0.5377 MB / 1.156 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/1.017, allocations: 408.9 kB / 1.156 GB, free: 5.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/1.017, allocations: 252.9 kB / 1.157 GB, free: 5.422 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/1.02, allocations: 1.309 MB / 1.158 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.642e-06/1.02, allocations: 0 / 1.158 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.522e-06/1.02, allocations: 0 / 1.158 GB, free: 4.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.529e-05/1.02, allocations: 5.031 kB / 1.158 GB, free: 4.555 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002722/1.022, allocations: 1.228 MB / 1.159 GB, free: 3.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.023, allocations: 12.66 kB / 1.159 GB, free: 3.594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/1.024, allocations: 251.1 kB / 1.159 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/1.027, allocations: 0.7481 MB / 1.16 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/1.027, allocations: 74.12 kB / 1.16 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/1.027, allocations: 95.72 kB / 1.16 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/1.03, allocations: 1.16 MB / 1.161 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/1.03, allocations: 5.188 kB / 1.161 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.03, allocations: 38.19 kB / 1.161 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/1.03, allocations: 36.28 kB / 1.161 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/1.032, allocations: 0.8972 MB / 1.162 GB, free: 1.598 MB / 0.698 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.009097/1.041, allocations: 5.732 MB / 1.168 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.042, allocations: 0.582 MB / 1.169 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/1.043, allocations: 147.6 kB / 1.169 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.043, allocations: 38.78 kB / 1.169 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.981e-06/1.043, allocations: 0 / 1.169 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002391/1.045, allocations: 0.8226 MB / 1.17 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/1.046, allocations: 87.17 kB / 1.17 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.047, allocations: 0.7555 MB / 1.17 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/1.047, allocations: 36.33 kB / 1.17 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/1.048, allocations: 0.4994 MB / 1.171 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/1.048, allocations: 184.5 kB / 1.171 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/1.048, allocations: 15.09 kB / 1.171 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002526/1.048, allocations: 333.1 kB / 1.171 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.049, allocations: 248.8 kB / 1.172 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.051, allocations: 0.5801 MB / 1.172 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/1.052, allocations: 355.4 kB / 1.173 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/1.052, allocations: 6.875 kB / 1.173 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00258/1.055, allocations: 0.8625 MB / 1.173 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/1.055, allocations: 7.188 kB / 1.173 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.055, allocations: 7.719 kB / 1.173 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/1.055, allocations: 12.66 kB / 1.173 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/1.056, allocations: 161 kB / 1.174 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/1.056, allocations: 20.3 kB / 1.174 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.057, allocations: 140.3 kB / 1.174 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.057, allocations: 40.33 kB / 1.174 GB, free: 8.52 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.0007329/1.058, allocations: 327 kB / 1.174 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.058, allocations: 88.67 kB / 1.174 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.06, allocations: 0.6315 MB / 1.175 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-06/1.06, allocations: 5.312 kB / 1.175 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.06, allocations: 2.438 kB / 1.175 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.061, allocations: 0.5269 MB / 1.175 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/1.065, allocations: 1.773 MB / 1.177 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/1.065, allocations: 2.875 kB / 1.177 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/1.066, allocations: 114.3 kB / 1.177 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.066, allocations: 2.844 kB / 1.177 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/1.066, allocations: 15.34 kB / 1.177 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.066, allocations: 7.094 kB / 1.177 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.066, allocations: 10.73 kB / 1.177 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/1.068, allocations: 1.174 MB / 1.178 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/1.069, allocations: 227.4 kB / 1.179 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.069, allocations: 9.594 kB / 1.179 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/1.07, allocations: 69.47 kB / 1.179 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/1.07, allocations: 35.66 kB / 1.179 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/1.07, allocations: 18.72 kB / 1.179 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009171/1.071, allocations: 0.507 MB / 1.179 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.37e-06/1.071, allocations: 0 / 1.179 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001346/1.072, allocations: 307.7 kB / 1.179 GB, free: 4.871 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.0006008/1.073, allocations: 204.5 kB / 1.18 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.074, allocations: 0.6161 MB / 1.18 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.096e-06/1.074, allocations: 4 kB / 1.18 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/1.075, allocations: 274.3 kB / 1.18 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.077, allocations: 434.9 kB / 1.181 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.082, allocations: 2.361 MB / 1.183 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.083, allocations: 1.147 MB / 1.184 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001351/1.084, allocations: 281.8 kB / 1.185 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/1.085, allocations: 75.5 kB / 1.185 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of SimCode: time 1.658e-06/1.085, allocations: 0 / 1.185 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.03785/1.123, allocations: 14.84 MB / 1.199 GB, free: 6.594 MB / 0.7292 GB