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.002387/0.002391, allocations: 355.4 kB / 15.94 MB, free: 6.207 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.61/1.61, allocations: 165.8 MB / 182.5 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.825/3.825, allocations: 410.8 MB / 0.5995 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001838/0.001836, allocations: 191.3 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 12 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3892, allocations: 67.45 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5708/0.96, allocations: 175.1 MB / 0.9791 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.9788, allocations: 13.19 MB / 0.992 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.9802, allocations: 28.91 kB / 0.9921 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.9818, allocations: 446.6 kB / 0.9925 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.9878, allocations: 1.65 MB / 0.9941 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.9915, allocations: 0.9317 MB / 0.995 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.9958, allocations: 3.044 MB / 0.998 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.9973, allocations: 0.8129 MB / 0.9988 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/1.001, allocations: 1.15 MB / 0.9999 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/1.003, allocations: 0.8834 MB / 1.001 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/1.003, allocations: 50.88 kB / 1.001 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/1.005, allocations: 496.5 kB / 1.001 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006309/1.006, allocations: 447.4 kB / 1.002 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/1.006, allocations: 251.3 kB / 1.002 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/1.008, allocations: 1.323 MB / 1.003 GB, free: 11.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.875e-06/1.008, allocations: 0 / 1.003 GB, free: 11.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.453e-06/1.008, allocations: 2.844 kB / 1.003 GB, free: 11.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/1.008, allocations: 0 / 1.003 GB, free: 11.22 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.002475/1.011, allocations: 1.233 MB / 1.004 GB, free: 10.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/1.011, allocations: 10.84 kB / 1.004 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/1.014, allocations: 262.7 kB / 1.005 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/1.018, allocations: 0.8007 MB / 1.005 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.018, allocations: 70.91 kB / 1.006 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/1.019, allocations: 97.5 kB / 1.006 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/1.023, allocations: 1.17 MB / 1.007 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/1.023, allocations: 2.906 kB / 1.007 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/1.024, allocations: 40.14 kB / 1.007 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.485e-05/1.024, allocations: 34.48 kB / 1.007 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/1.027, allocations: 0.9084 MB / 1.008 GB, free: 9.164 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.01426/1.042, allocations: 5.737 MB / 1.013 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/1.044, allocations: 0.5554 MB / 1.014 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.045, allocations: 333.5 kB / 1.014 GB, free: 4.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.046, allocations: 325.9 kB / 1.015 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/1.046, allocations: 42.94 kB / 1.015 GB, free: 4.191 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 6.551e-06/1.047, allocations: 0 / 1.015 GB, free: 4.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.003988/1.051, allocations: 0.819 MB / 1.015 GB, free: 4.012 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.051, allocations: 82.7 kB / 1.015 GB, free: 3.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/1.053, allocations: 0.7437 MB / 1.016 GB, free: 3.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/1.053, allocations: 41.3 kB / 1.016 GB, free: 3.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007901/1.054, allocations: 0.5044 MB / 1.017 GB, free: 3.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.054, allocations: 182.1 kB / 1.017 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/1.055, allocations: 19.72 kB / 1.017 GB, free: 3.203 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/1.055, allocations: 344.7 kB / 1.017 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.056, allocations: 246.8 kB / 1.017 GB, free: 2.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/1.058, allocations: 0.5757 MB / 1.018 GB, free: 2.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.059, allocations: 358.8 kB / 1.018 GB, free: 2.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.059, allocations: 2.844 kB / 1.018 GB, free: 2.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00362/1.063, allocations: 0.8492 MB / 1.019 GB, free: 2.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/1.063, allocations: 17.33 kB / 1.019 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/1.063, allocations: 5.25 kB / 1.019 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/1.063, allocations: 16.78 kB / 1.019 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.065, allocations: 161.2 kB / 1.019 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.165e-05/1.065, allocations: 23.92 kB / 1.019 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/1.067, allocations: 131.5 kB / 1.02 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.067, allocations: 42.16 kB / 1.02 GB, free: 1.773 MB / 490.7 MB 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.001233/1.069, allocations: 337.7 kB / 1.02 GB, free: 1.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/1.069, allocations: 90.95 kB / 1.02 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.072, allocations: 0.6308 MB / 1.021 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.072, allocations: 4 kB / 1.021 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.684e-06/1.072, allocations: 0 / 1.021 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/1.074, allocations: 0.5201 MB / 1.021 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/1.081, allocations: 1.767 MB / 1.023 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.081, allocations: 4 kB / 1.023 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.083, allocations: 115.1 kB / 1.023 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.238e-05/1.083, allocations: 8.25 kB / 1.023 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.083, allocations: 19.55 kB / 1.023 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-05/1.083, allocations: 7.953 kB / 1.023 GB, free: 15.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.453e-06/1.083, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/1.087, allocations: 1.078 MB / 1.024 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.088, allocations: 230.2 kB / 1.024 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/1.088, allocations: 10.31 kB / 1.024 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.09, allocations: 69.06 kB / 1.024 GB, free: 13.99 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.09, allocations: 45.91 kB / 1.024 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.09, allocations: 15.62 kB / 1.024 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001781/1.092, allocations: 0.5051 MB / 1.025 GB, free: 13.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.254e-06/1.092, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002524/1.095, allocations: 302.5 kB / 1.025 GB, free: 13.28 MB / 0.4949 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.001001/1.096, allocations: 209.5 kB / 1.025 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002994/1.099, allocations: 0.613 MB / 1.026 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.099, allocations: 6.938 kB / 1.026 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.1, allocations: 285.1 kB / 1.026 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/1.103, allocations: 452.3 kB / 1.027 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/1.108, allocations: 2.391 MB / 1.029 GB, free: 9.832 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.109, allocations: 1.14 MB / 1.03 GB, free: 8.707 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001579/1.11, allocations: 271.2 kB / 1.03 GB, free: 8.438 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.111, allocations: 78.34 kB / 1.03 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of SimCode: time 1.678e-06/1.111, allocations: 4 kB / 1.03 GB, free: 8.359 MB / 0.4949 GB Notification: Performance of Templates: time 0.03982/1.151, allocations: 14.85 MB / 1.045 GB, free: 9.738 MB / 0.5105 GB