Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00776/0.00776, allocations: 103.6 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.001761, allocations: 196.6 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.727/1.727, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 72.42 kB / 0.7258 GB, free: 8.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2603, allocations: 104.7 MB / 0.8281 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8089/1.069, allocations: 195.3 MB / 1.019 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02026/1.09, allocations: 14.38 MB / 1.033 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/1.092, allocations: 34.16 kB / 1.033 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002786/1.095, allocations: 0.5054 MB / 1.033 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00682/1.102, allocations: 1.959 MB / 1.035 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/1.105, allocations: 0.8822 MB / 1.036 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004066/1.109, allocations: 2.616 MB / 1.039 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/1.112, allocations: 1.117 MB / 1.04 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/1.117, allocations: 1.659 MB / 1.041 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/1.119, allocations: 0.9314 MB / 1.042 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000419/1.119, allocations: 108 kB / 1.042 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/1.123, allocations: 1.107 MB / 1.043 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.124, allocations: 0.5027 MB / 1.044 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00232/1.127, allocations: 0.6416 MB / 1.045 GB, free: 14.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/1.132, allocations: 1.919 MB / 1.046 GB, free: 12.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.132, allocations: 0 / 1.046 GB, free: 12.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/1.132, allocations: 0 / 1.046 GB, free: 12.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.229e-05/1.132, allocations: 0 / 1.046 GB, free: 12.91 MB / 0.795 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.003376/1.136, allocations: 1.449 MB / 1.048 GB, free: 11.4 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.136, allocations: 12.03 kB / 1.048 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/1.137, allocations: 246.4 kB / 1.048 GB, free: 11.15 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/1.139, allocations: 0.7881 MB / 1.049 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/1.139, allocations: 70 kB / 1.049 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.139, allocations: 99.94 kB / 1.049 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/1.141, allocations: 1.177 MB / 1.05 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.141, allocations: 3.938 kB / 1.05 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/1.141, allocations: 43.94 kB / 1.05 GB, free: 8.859 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/1.141, allocations: 34 kB / 1.05 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.143, allocations: 0.9054 MB / 1.051 GB, free: 7.918 MB / 0.795 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.00609/1.149, allocations: 5.735 MB / 1.057 GB, free: 1.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/1.15, allocations: 0.4924 MB / 1.057 GB, free: 1.223 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/1.15, allocations: 314.6 kB / 1.058 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/1.151, allocations: 311.7 kB / 1.058 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.151, allocations: 50.94 kB / 1.058 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=49): time 2.845e-06/1.151, allocations: 0 / 1.058 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.001603/1.152, allocations: 0.787 MB / 1.059 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.152, allocations: 55.84 kB / 1.059 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/1.154, allocations: 0.7429 MB / 1.059 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/1.154, allocations: 37.7 kB / 1.059 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/1.154, allocations: 0.5025 MB / 1.06 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.154, allocations: 177.5 kB / 1.06 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.155, allocations: 146.5 kB / 1.06 GB, free: 14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.155, allocations: 386.8 kB / 1.061 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/1.155, allocations: 249.8 kB / 1.061 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/1.156, allocations: 0.5373 MB / 1.061 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009794/1.157, allocations: 0.7957 MB / 1.062 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.157, allocations: 0 / 1.062 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001356/1.158, allocations: 0.8306 MB / 1.063 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.158, allocations: 8 kB / 1.063 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.158, allocations: 11.94 kB / 1.063 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/1.158, allocations: 12 kB / 1.063 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/1.159, allocations: 160.5 kB / 1.063 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/1.159, allocations: 19.94 kB / 1.063 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.16, allocations: 87.05 kB / 1.063 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/1.16, allocations: 39.98 kB / 1.063 GB, free: 10.63 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006649/1.161, allocations: 329.5 kB / 1.064 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/1.161, allocations: 82.97 kB / 1.064 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.162, allocations: 0.6139 MB / 1.064 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.162, allocations: 8 kB / 1.064 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.162, allocations: 3.984 kB / 1.064 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000766/1.163, allocations: 0.5094 MB / 1.065 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/1.166, allocations: 1.667 MB / 1.066 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.166, allocations: 96 / 1.066 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/1.166, allocations: 115.8 kB / 1.067 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.166, allocations: 4 kB / 1.067 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/1.166, allocations: 20.05 kB / 1.067 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.166, allocations: 7.984 kB / 1.067 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.166, allocations: 7.922 kB / 1.067 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.168, allocations: 1.035 MB / 1.068 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.168, allocations: 235.9 kB / 1.068 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.168, allocations: 11.98 kB / 1.068 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/1.169, allocations: 19.98 kB / 1.068 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/1.169, allocations: 31.91 kB / 1.068 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.169, allocations: 23.98 kB / 1.068 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006739/1.17, allocations: 0.5067 MB / 1.068 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/1.17, allocations: 0 / 1.068 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001006/1.171, allocations: 299.4 kB / 1.069 GB, free: 4.961 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005247/1.171, allocations: 207.2 kB / 1.069 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.172, allocations: 0.6081 MB / 1.07 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.172, allocations: 0 / 1.07 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/1.173, allocations: 271.8 kB / 1.07 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/1.174, allocations: 442.9 kB / 1.07 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/1.178, allocations: 1.907 MB / 1.072 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/1.178, allocations: 1.122 MB / 1.073 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007854/1.179, allocations: 267.1 kB / 1.073 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.179, allocations: 71.42 kB / 1.073 GB, free: 28 kB / 0.8106 GB Notification: Performance of SimCode: time 8.32e-07/1.179, allocations: 0 / 1.073 GB, free: 28 kB / 0.8106 GB Notification: Performance of Templates: time 0.03163/1.211, allocations: 15.5 MB / 1.089 GB, free: 0.7891 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)