Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 184.9 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7957/0.7957, allocations: 82.92 MB / 99.42 MB, free: 3.305 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 325.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.89 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004713, allocations: 16 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09298, allocations: 67.44 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5513/0.6443, allocations: 161.7 MB / 0.6843 GB, free: 13.78 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.6664, allocations: 12.14 MB / 0.6962 GB, free: 1.617 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.6677, allocations: 27.81 kB / 0.6962 GB, free: 1.59 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.6699, allocations: 0.4899 MB / 0.6967 GB, free: 1.098 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.6759, allocations: 1.542 MB / 0.6982 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.6797, allocations: 0.9347 MB / 0.6991 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.683, allocations: 1.48 MB / 0.7005 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.6848, allocations: 0.8232 MB / 0.7013 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.6882, allocations: 1.122 MB / 0.7024 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.6896, allocations: 0.6111 MB / 0.703 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.6899, allocations: 48 kB / 0.7031 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.6919, allocations: 0.546 MB / 0.7036 GB, free: 9.977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.6927, allocations: 407 kB / 0.704 GB, free: 9.578 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.6932, allocations: 249.1 kB / 0.7042 GB, free: 9.328 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.6956, allocations: 1.31 MB / 0.7055 GB, free: 8.016 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.643e-06/0.6957, allocations: 0 / 0.7055 GB, free: 8.016 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.814e-06/0.6957, allocations: 0 / 0.7055 GB, free: 8.016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.6957, allocations: 3.938 kB / 0.7055 GB, free: 8.012 MB / 490.7 MB 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.002558/0.6983, allocations: 1.239 MB / 0.7067 GB, free: 6.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6983, allocations: 8.031 kB / 0.7067 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.7002, allocations: 258.3 kB / 0.707 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7023, allocations: 0.742 MB / 0.7077 GB, free: 5.676 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.7024, allocations: 73.98 kB / 0.7078 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.7027, allocations: 96 kB / 0.7079 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.7053, allocations: 1.157 MB / 0.709 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.7054, allocations: 4 kB / 0.709 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.7055, allocations: 36 kB / 0.709 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.7056, allocations: 34 kB / 0.7091 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.7078, allocations: 0.9092 MB / 0.7099 GB, free: 3.301 MB / 490.7 MB 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.008568/0.7164, allocations: 5.731 MB / 0.7155 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.7177, allocations: 0.576 MB / 0.7161 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.7182, allocations: 149.5 kB / 0.7162 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.7183, allocations: 39 kB / 0.7163 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=51): time 4.097e-06/0.7183, allocations: 4 kB / 0.7163 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.002389/0.7207, allocations: 0.8143 MB / 0.7171 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.7208, allocations: 81.55 kB / 0.7172 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7222, allocations: 0.7469 MB / 0.7179 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.7224, allocations: 37.7 kB / 0.7179 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.7229, allocations: 0.5066 MB / 0.7184 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.7232, allocations: 185.3 kB / 0.7186 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.7232, allocations: 16 kB / 0.7186 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7234, allocations: 337.9 kB / 0.7189 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.7241, allocations: 253.8 kB / 0.7192 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.725, allocations: 0.5784 MB / 0.7197 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.7259, allocations: 360.6 kB / 0.7201 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.7259, allocations: 4 kB / 0.7201 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002087/0.728, allocations: 0.8545 MB / 0.7209 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.728, allocations: 12.84 kB / 0.7209 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7281, allocations: 11.98 kB / 0.7209 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.7281, allocations: 12 kB / 0.721 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.729, allocations: 167.7 kB / 0.7211 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.729, allocations: 12 kB / 0.7211 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7303, allocations: 142.5 kB / 0.7213 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.7304, allocations: 32 kB / 0.7213 GB, free: 6.973 MB / 0.4948 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.0007042/0.7311, allocations: 341.4 kB / 0.7216 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.7314, allocations: 82.97 kB / 0.7217 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.7329, allocations: 0.6334 MB / 0.7223 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.754e-06/0.7329, allocations: 4 kB / 0.7223 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-06/0.7329, allocations: 4 kB / 0.7223 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.7341, allocations: 0.525 MB / 0.7228 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.7381, allocations: 1.765 MB / 0.7246 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.591e-06/0.7381, allocations: 4 kB / 0.7246 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/0.7389, allocations: 119.8 kB / 0.7247 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.739, allocations: 4 kB / 0.7247 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.739, allocations: 8 kB / 0.7247 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.739, allocations: 4 kB / 0.7247 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.7391, allocations: 7.953 kB / 0.7247 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.7413, allocations: 1.171 MB / 0.7259 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.7419, allocations: 239.9 kB / 0.7261 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7421, allocations: 16 kB / 0.7261 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009572/0.7431, allocations: 63.88 kB / 0.7262 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7432, allocations: 31.91 kB / 0.7262 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.7434, allocations: 23.98 kB / 0.7262 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001046/0.7444, allocations: 0.5068 MB / 0.7267 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.95e-07/0.7444, allocations: 0 / 0.7267 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001276/0.7457, allocations: 303.3 kB / 0.727 GB, free: 0.918 MB / 0.4948 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.0005987/0.7464, allocations: 196.9 kB / 0.7272 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7479, allocations: 0.6196 MB / 0.7278 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.004e-06/0.7479, allocations: 0 / 0.7278 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.7486, allocations: 288.6 kB / 0.7281 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7511, allocations: 449.5 kB / 0.7285 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.7557, allocations: 2.361 MB / 0.7308 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.7568, allocations: 1.142 MB / 0.7319 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001364/0.7582, allocations: 279.2 kB / 0.7322 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.7585, allocations: 79.41 kB / 0.7323 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of SimCode: time 3.673e-06/0.7586, allocations: 0 / 0.7323 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.03873/0.7973, allocations: 14.86 MB / 0.7468 GB, free: 12.78 MB / 0.5261 GB