Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.658/2.658, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 178.3 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.45/2.45, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00138/0.00138, allocations: 96.17 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006965/0.0006966, allocations: 12.75 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2787, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9591/1.238, allocations: 177.7 MB / 1.073 GB, free: 4.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02594/1.264, allocations: 13.37 MB / 1.086 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/1.266, allocations: 30.16 kB / 1.086 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/1.268, allocations: 353.4 kB / 1.086 GB, free: 4.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00616/1.274, allocations: 1.378 MB / 1.087 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/1.278, allocations: 0.6739 MB / 1.088 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005856/1.284, allocations: 3.108 MB / 1.091 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/1.286, allocations: 0.8399 MB / 1.092 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/1.29, allocations: 1.216 MB / 1.093 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/1.293, allocations: 0.8956 MB / 1.094 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004133/1.294, allocations: 47.62 kB / 1.094 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/1.297, allocations: 0.5643 MB / 1.095 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/1.298, allocations: 456.4 kB / 1.095 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007902/1.299, allocations: 250.1 kB / 1.095 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/1.303, allocations: 1.368 MB / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.303, allocations: 0 / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/1.303, allocations: 0 / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.526e-05/1.303, allocations: 4 kB / 1.097 GB, free: 3.652 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003964/1.307, allocations: 1.231 MB / 1.098 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.307, allocations: 8 kB / 1.098 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/1.309, allocations: 258 kB / 1.098 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.312, allocations: 0.8134 MB / 1.099 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/1.312, allocations: 73 kB / 1.099 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.312, allocations: 95.5 kB / 1.099 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/1.315, allocations: 1.167 MB / 1.1 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/1.315, allocations: 8.25 kB / 1.1 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/1.316, allocations: 39.03 kB / 1.1 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-05/1.316, allocations: 40.14 kB / 1.1 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/1.319, allocations: 0.9057 MB / 1.101 GB, free: 18.29 MB / 0.7136 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.01024/1.329, allocations: 5.738 MB / 1.107 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/1.33, allocations: 0.5352 MB / 1.107 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/1.331, allocations: 322.6 kB / 1.108 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009669/1.332, allocations: 328.7 kB / 1.108 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.332, allocations: 42.56 kB / 1.108 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.426e-06/1.332, allocations: 0 / 1.108 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002436/1.334, allocations: 0.8123 MB / 1.109 GB, free: 14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/1.335, allocations: 83.2 kB / 1.109 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.336, allocations: 0.7319 MB / 1.109 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.336, allocations: 38.33 kB / 1.11 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/1.337, allocations: 0.5027 MB / 1.11 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1.337, allocations: 182.7 kB / 1.11 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/1.337, allocations: 14.41 kB / 1.11 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.337, allocations: 397.2 kB / 1.111 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/1.338, allocations: 249.2 kB / 1.111 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/1.339, allocations: 0.551 MB / 1.111 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/1.339, allocations: 348.8 kB / 1.112 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.339, allocations: 6.125 kB / 1.112 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002113/1.342, allocations: 0.8541 MB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.342, allocations: 12.02 kB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.342, allocations: 8.469 kB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.342, allocations: 11.38 kB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.343, allocations: 160.5 kB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.343, allocations: 18.69 kB / 1.113 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.345, allocations: 143.9 kB / 1.113 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/1.345, allocations: 40.58 kB / 1.113 GB, free: 12.53 MB / 0.7136 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.0007835/1.345, allocations: 336.8 kB / 1.113 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/1.346, allocations: 86.88 kB / 1.113 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.347, allocations: 0.6234 MB / 1.114 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.347, allocations: 6.188 kB / 1.114 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.347, allocations: 0 / 1.114 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.348, allocations: 0.5185 MB / 1.114 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/1.353, allocations: 1.765 MB / 1.116 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.353, allocations: 3.188 kB / 1.116 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.354, allocations: 118 kB / 1.116 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/1.354, allocations: 5.094 kB / 1.116 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/1.354, allocations: 20.11 kB / 1.116 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/1.354, allocations: 11.67 kB / 1.116 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.354, allocations: 2.375 kB / 1.116 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.356, allocations: 1.067 MB / 1.117 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/1.357, allocations: 233.7 kB / 1.118 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.357, allocations: 12.78 kB / 1.118 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.358, allocations: 69.06 kB / 1.118 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/1.358, allocations: 46.61 kB / 1.118 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/1.359, allocations: 18.25 kB / 1.118 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001009/1.36, allocations: 0.5013 MB / 1.118 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.22e-07/1.36, allocations: 2.531 kB / 1.118 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001488/1.361, allocations: 297.2 kB / 1.118 GB, free: 11.21 MB / 0.7136 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.000668/1.362, allocations: 214.7 kB / 1.119 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.363, allocations: 0.6183 MB / 1.119 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.363, allocations: 1.938 kB / 1.119 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006245/1.364, allocations: 278.6 kB / 1.12 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/1.368, allocations: 440.8 kB / 1.12 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/1.373, allocations: 2.384 MB / 1.122 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.374, allocations: 1.118 MB / 1.123 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001669/1.376, allocations: 279.8 kB / 1.124 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.376, allocations: 73.48 kB / 1.124 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.376, allocations: 0 / 1.124 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of Templates: time 0.04351/1.42, allocations: 14.75 MB / 1.138 GB, free: 3.113 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)