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 4.68/4.68, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002443/0.002443, allocations: 360.7 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.072/4.072, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001829/0.001829, allocations: 192 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005094, allocations: 16 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7474, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2066/0.9541, allocations: 175.1 MB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.9733, allocations: 13.2 MB / 1.645 GB, free: 96 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.9745, allocations: 27.81 kB / 1.645 GB, free: 95.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.9763, allocations: 449.1 kB / 1.646 GB, free: 95.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.9818, allocations: 1.648 MB / 1.647 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.9854, allocations: 0.9332 MB / 1.648 GB, free: 92.95 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.9892, allocations: 3.029 MB / 1.651 GB, free: 89.92 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.9906, allocations: 0.8085 MB / 1.652 GB, free: 89.09 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.9935, allocations: 1.147 MB / 1.653 GB, free: 87.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.9954, allocations: 0.8913 MB / 1.654 GB, free: 87.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.9956, allocations: 48 kB / 1.654 GB, free: 86.99 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.9974, allocations: 494.7 kB / 1.654 GB, free: 86.51 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005295/0.9979, allocations: 450.7 kB / 1.655 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.9983, allocations: 253.1 kB / 1.655 GB, free: 85.81 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/1, allocations: 1.321 MB / 1.656 GB, free: 84.49 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1, allocations: 0 / 1.656 GB, free: 84.49 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.024e-06/1, allocations: 0 / 1.656 GB, free: 84.49 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.451e-05/1, allocations: 0 / 1.656 GB, free: 84.49 MB / 0.8542 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.002534/1.003, allocations: 1.227 MB / 1.658 GB, free: 83.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.003, allocations: 11.62 kB / 1.658 GB, free: 83.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.004, allocations: 258.3 kB / 1.658 GB, free: 82.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/1.007, allocations: 0.8121 MB / 1.659 GB, free: 82.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/1.007, allocations: 78 kB / 1.659 GB, free: 82.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/1.007, allocations: 92 kB / 1.659 GB, free: 81.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/1.009, allocations: 1.169 MB / 1.66 GB, free: 80.69 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/1.009, allocations: 4 kB / 1.66 GB, free: 80.69 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.009, allocations: 36 kB / 1.66 GB, free: 80.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/1.009, allocations: 38 kB / 1.66 GB, free: 80.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/1.011, allocations: 0.9092 MB / 1.661 GB, free: 79.71 MB / 0.8542 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.006688/1.018, allocations: 5.723 MB / 1.667 GB, free: 73.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.019, allocations: 0.5661 MB / 1.667 GB, free: 72.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/1.02, allocations: 330.8 kB / 1.667 GB, free: 72.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/1.021, allocations: 327.7 kB / 1.668 GB, free: 72.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.021, allocations: 39 kB / 1.668 GB, free: 72.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 3.326e-06/1.021, allocations: 0 / 1.668 GB, free: 72.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.002184/1.023, allocations: 0.822 MB / 1.669 GB, free: 71.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/1.023, allocations: 85.48 kB / 1.669 GB, free: 71.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.024, allocations: 0.7431 MB / 1.669 GB, free: 70.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/1.024, allocations: 37.7 kB / 1.669 GB, free: 70.47 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.025, allocations: 0.5065 MB / 1.67 GB, free: 69.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.025, allocations: 189.3 kB / 1.67 GB, free: 69.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/1.025, allocations: 12 kB / 1.67 GB, free: 69.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/1.025, allocations: 338.1 kB / 1.67 GB, free: 69.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/1.025, allocations: 249.8 kB / 1.671 GB, free: 69.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/1.026, allocations: 0.5823 MB / 1.671 GB, free: 68.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/1.027, allocations: 352.6 kB / 1.672 GB, free: 68.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.027, allocations: 4 kB / 1.672 GB, free: 68.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001821/1.029, allocations: 0.8537 MB / 1.672 GB, free: 67.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.029, allocations: 8 kB / 1.672 GB, free: 67.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.029, allocations: 8.906 kB / 1.672 GB, free: 67.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/1.029, allocations: 15.98 kB / 1.672 GB, free: 67.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.03, allocations: 167.8 kB / 1.673 GB, free: 67.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/1.03, allocations: 19.92 kB / 1.673 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.032, allocations: 131.8 kB / 1.673 GB, free: 66.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.032, allocations: 39.98 kB / 1.673 GB, free: 66.87 MB / 0.8542 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.0005663/1.032, allocations: 336.9 kB / 1.673 GB, free: 66.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.032, allocations: 94.91 kB / 1.673 GB, free: 66.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/1.034, allocations: 0.6217 MB / 1.674 GB, free: 65.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/1.035, allocations: 0.525 MB / 1.674 GB, free: 65.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.035, allocations: 0 / 1.674 GB, free: 65.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/1.035, allocations: 223.9 kB / 1.675 GB, free: 65.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.036, allocations: 15.98 kB / 1.675 GB, free: 65.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/1.037, allocations: 63.89 kB / 1.675 GB, free: 64.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/1.037, allocations: 32.39 kB / 1.675 GB, free: 64.93 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001871/1.038, allocations: 0.7682 MB / 1.675 GB, free: 64.14 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001941/1.04, allocations: 1.196 MB / 1.677 GB, free: 62.93 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004841/1.041, allocations: 267.4 kB / 1.677 GB, free: 62.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008393/1.042, allocations: 0.5029 MB / 1.677 GB, free: 62.18 MB / 0.8542 GB Notification: Performance of Backend: time 8.01e-07/1.042, allocations: 0 / 1.677 GB, free: 62.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002381/1.044, allocations: 0.7125 MB / 1.678 GB, free: 61.46 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00581/1.05, allocations: 2.926 MB / 1.681 GB, free: 58.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.03933/1.089, allocations: 16.75 MB / 1.697 GB, free: 42.05 MB / 0.8542 GB