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.002575/0.002574, allocations: 358.4 kB / 16.58 MB, free: 5.562 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.261/1.261, allocations: 165.8 MB / 183.1 MB, free: 5.922 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.135/4.135, allocations: 410.7 MB / 0.6001 GB, free: 2.176 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.001841/0.001841, allocations: 181 kB / 0.6668 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 16 kB / 0.7429 GB, free: 44 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4599, allocations: 67.44 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.972, allocations: 2.089 GB / 2.898 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/5.973, allocations: 100.4 kB / 2.898 GB, free: 31.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.404/9.377, allocations: 0.6547 GB / 3.553 GB, free: 78.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/9.377, allocations: 0 / 3.553 GB, free: 78.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.788e-05/9.377, allocations: 24 kB / 3.553 GB, free: 78.21 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.004128/9.381, allocations: 1.469 MB / 3.554 GB, free: 76.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/9.381, allocations: 10.55 kB / 3.554 GB, free: 76.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/9.383, allocations: 250.3 kB / 3.554 GB, free: 76.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/9.386, allocations: 0.9001 MB / 3.555 GB, free: 75.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/9.386, allocations: 77.94 kB / 3.555 GB, free: 75.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/9.386, allocations: 92 kB / 3.555 GB, free: 75.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/9.389, allocations: 1.119 MB / 3.556 GB, free: 74.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/9.389, allocations: 4 kB / 3.556 GB, free: 74.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/9.389, allocations: 40 kB / 3.556 GB, free: 74.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/9.389, allocations: 34 kB / 3.556 GB, free: 74.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/9.391, allocations: 0.843 MB / 3.557 GB, free: 73.24 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.007329/9.398, allocations: 5.7 MB / 3.563 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/9.399, allocations: 0.5406 MB / 3.563 GB, free: 66.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/9.4, allocations: 303.2 kB / 3.564 GB, free: 66.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/9.401, allocations: 315.7 kB / 3.564 GB, free: 65.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/9.401, allocations: 39 kB / 3.564 GB, free: 65.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 6.443e-06/9.401, allocations: 0 / 3.564 GB, free: 65.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.003974/9.405, allocations: 0.7753 MB / 3.565 GB, free: 65.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/9.406, allocations: 59.84 kB / 3.565 GB, free: 64.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/9.408, allocations: 0.7391 MB / 3.566 GB, free: 64.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/9.408, allocations: 41.7 kB / 3.566 GB, free: 64.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/9.409, allocations: 0.4988 MB / 3.566 GB, free: 63.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/9.409, allocations: 181.4 kB / 3.566 GB, free: 63.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/9.409, allocations: 16 kB / 3.566 GB, free: 63.49 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001072/9.409, allocations: 341.3 kB / 3.567 GB, free: 63.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008819/9.41, allocations: 237.9 kB / 3.567 GB, free: 62.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/9.412, allocations: 0.577 MB / 3.567 GB, free: 62.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/9.413, allocations: 355.8 kB / 3.568 GB, free: 61.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/9.413, allocations: 0 / 3.568 GB, free: 61.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00203/9.415, allocations: 0.8351 MB / 3.569 GB, free: 61.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/9.415, allocations: 8 kB / 3.569 GB, free: 61.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/9.415, allocations: 8 kB / 3.569 GB, free: 61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/9.415, allocations: 16.03 kB / 3.569 GB, free: 60.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/9.416, allocations: 151.8 kB / 3.569 GB, free: 60.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/9.416, allocations: 15.98 kB / 3.569 GB, free: 60.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/9.418, allocations: 135 kB / 3.569 GB, free: 60.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/9.418, allocations: 39.98 kB / 3.569 GB, free: 60.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0007043/9.419, allocations: 335.5 kB / 3.569 GB, free: 60.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/9.419, allocations: 82.97 kB / 3.569 GB, free: 60.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/9.42, allocations: 0.61 MB / 3.57 GB, free: 59.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/9.42, allocations: 4 kB / 3.57 GB, free: 59.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/9.42, allocations: 3.469 kB / 3.57 GB, free: 59.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/9.421, allocations: 0.5056 MB / 3.57 GB, free: 59.08 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/9.425, allocations: 1.655 MB / 3.572 GB, free: 57.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/9.425, allocations: 4 kB / 3.572 GB, free: 57.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/9.426, allocations: 116.1 kB / 3.572 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/9.426, allocations: 8 kB / 3.572 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/9.426, allocations: 16 kB / 3.572 GB, free: 57.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/9.426, allocations: 0 / 3.572 GB, free: 57.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/9.426, allocations: 7.938 kB / 3.572 GB, free: 57.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/9.428, allocations: 1.041 MB / 3.573 GB, free: 56.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/9.428, allocations: 219.9 kB / 3.573 GB, free: 55.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/9.429, allocations: 15.98 kB / 3.573 GB, free: 55.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/9.43, allocations: 71.83 kB / 3.573 GB, free: 55.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/9.43, allocations: 35.91 kB / 3.574 GB, free: 55.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/9.43, allocations: 15.98 kB / 3.574 GB, free: 55.76 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008919/9.431, allocations: 0.5029 MB / 3.574 GB, free: 55.26 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/9.431, allocations: 0 / 3.574 GB, free: 55.26 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001959/9.433, allocations: 479.3 kB / 3.574 GB, free: 54.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.003113/9.436, allocations: 1.909 MB / 3.576 GB, free: 52.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001477/9.437, allocations: 0.5924 MB / 3.577 GB, free: 52.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/9.437, allocations: 4.25 kB / 3.577 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/9.438, allocations: 263.7 kB / 3.577 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/9.442, allocations: 434.3 kB / 3.578 GB, free: 51.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/9.446, allocations: 2.341 MB / 3.58 GB, free: 49.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/9.447, allocations: 1.142 MB / 3.581 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001514/9.448, allocations: 264.1 kB / 3.581 GB, free: 47.83 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/9.448, allocations: 75.42 kB / 3.581 GB, free: 47.75 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/9.448, allocations: 3.938 kB / 3.581 GB, free: 47.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.07785/9.526, allocations: 36.65 MB / 3.617 GB, free: 11.37 MB / 0.5886 GB