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.003904/0.003904, allocations: 357.5 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.248/1.248, allocations: 165.8 MB / 183.1 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.231/4.231, allocations: 410.7 MB / 0.6001 GB, free: 2.098 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 175.3 kB / 0.6668 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004573, allocations: 16 kB / 0.7429 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4819, allocations: 67.44 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2229/0.7048, allocations: 175.1 MB / 0.9798 GB, free: 82.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.7256, allocations: 13.17 MB / 0.9926 GB, free: 68.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.727, allocations: 27.81 kB / 0.9926 GB, free: 68.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.7291, allocations: 453.2 kB / 0.9931 GB, free: 68.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.7352, allocations: 1.651 MB / 0.9947 GB, free: 66.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.7391, allocations: 0.9232 MB / 0.9956 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.7434, allocations: 3.039 MB / 0.9985 GB, free: 62.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.745, allocations: 0.8179 MB / 0.9993 GB, free: 62.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.7483, allocations: 1.155 MB / 1 GB, free: 60.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.7503, allocations: 0.8804 MB / 1.001 GB, free: 60.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.7506, allocations: 48 kB / 1.001 GB, free: 59.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.7526, allocations: 490.7 kB / 1.002 GB, free: 59.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.7531, allocations: 446.8 kB / 1.002 GB, free: 59.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.7536, allocations: 257.1 kB / 1.003 GB, free: 58.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.7555, allocations: 1.321 MB / 1.004 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7555, allocations: 0 / 1.004 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7555, allocations: 0 / 1.004 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.7556, allocations: 11.38 kB / 1.004 GB, free: 57.46 MB / 0.5886 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.002752/0.7583, allocations: 1.227 MB / 1.005 GB, free: 56.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7584, allocations: 8.031 kB / 1.005 GB, free: 56.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.7604, allocations: 258.3 kB / 1.005 GB, free: 55.92 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.7628, allocations: 0.8134 MB / 1.006 GB, free: 55.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.7629, allocations: 74 kB / 1.006 GB, free: 55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.7631, allocations: 96 kB / 1.006 GB, free: 54.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.7655, allocations: 1.161 MB / 1.007 GB, free: 53.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.7656, allocations: 7.938 kB / 1.007 GB, free: 53.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.7657, allocations: 36 kB / 1.007 GB, free: 53.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.7658, allocations: 41.95 kB / 1.007 GB, free: 53.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.7679, allocations: 0.8976 MB / 1.008 GB, free: 52.7 MB / 0.5886 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.007408/0.7754, allocations: 5.737 MB / 1.014 GB, free: 46.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.7767, allocations: 0.5659 MB / 1.014 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.7774, allocations: 329.9 kB / 1.015 GB, free: 45.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008826/0.7783, allocations: 324.4 kB / 1.015 GB, free: 45.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.7784, allocations: 43 kB / 1.015 GB, free: 45.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=51): time 4.037e-06/0.7784, allocations: 0 / 1.015 GB, free: 45.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=51): time 0.002366/0.7807, allocations: 0.8221 MB / 1.016 GB, free: 44.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.7808, allocations: 81.55 kB / 1.016 GB, free: 44.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.7821, allocations: 0.7392 MB / 1.017 GB, free: 43.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7823, allocations: 37.7 kB / 1.017 GB, free: 43.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.7827, allocations: 0.5103 MB / 1.017 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.7829, allocations: 185.4 kB / 1.017 GB, free: 42.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.783, allocations: 20.12 kB / 1.017 GB, free: 42.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.783, allocations: 337.9 kB / 1.018 GB, free: 42.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.7837, allocations: 253.8 kB / 1.018 GB, free: 42.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.7845, allocations: 0.5667 MB / 1.019 GB, free: 41.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.7853, allocations: 370.3 kB / 1.019 GB, free: 41.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.7853, allocations: 4 kB / 1.019 GB, free: 41.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002032/0.7873, allocations: 0.8536 MB / 1.02 GB, free: 40.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.7874, allocations: 8.969 kB / 1.02 GB, free: 40.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.7874, allocations: 8 kB / 1.02 GB, free: 40.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.7875, allocations: 16 kB / 1.02 GB, free: 40.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7886, allocations: 159.7 kB / 1.02 GB, free: 40.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.7886, allocations: 15.94 kB / 1.02 GB, free: 40.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.7902, allocations: 140.3 kB / 1.02 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.7904, allocations: 36 kB / 1.02 GB, free: 39.86 MB / 0.5886 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.0006542/0.7911, allocations: 343.4 kB / 1.02 GB, free: 39.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.7913, allocations: 86.97 kB / 1.021 GB, free: 39.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.7928, allocations: 0.6217 MB / 1.021 GB, free: 38.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.7939, allocations: 0.5211 MB / 1.022 GB, free: 38.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.7939, allocations: 0 / 1.022 GB, free: 38.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.7945, allocations: 235.8 kB / 1.022 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7947, allocations: 12 kB / 1.022 GB, free: 38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7958, allocations: 70.66 kB / 1.022 GB, free: 37.94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.7959, allocations: 29.44 kB / 1.022 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001967/0.7978, allocations: 0.7707 MB / 1.023 GB, free: 37.13 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002121/0.8, allocations: 1.2 MB / 1.024 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005195/0.8006, allocations: 271.3 kB / 1.024 GB, free: 35.65 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009125/0.8015, allocations: 0.5029 MB / 1.025 GB, free: 35.15 MB / 0.5886 GB Notification: Performance of Backend: time 7.82e-07/0.8015, allocations: 0 / 1.025 GB, free: 35.15 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.804, allocations: 0.6915 MB / 1.025 GB, free: 34.48 MB / 0.5886 GB Notification: Performance of SimCode: time 0.006346/0.8104, allocations: 2.936 MB / 1.028 GB, free: 31.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.04113/0.8516, allocations: 16.75 MB / 1.045 GB, free: 15.2 MB / 0.5886 GB