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.008648/0.008648, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001534/0.001534, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.561/1.561, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.002174/0.002174, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2459, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9149/1.161, allocations: 195.3 MB / 1.019 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02117/1.182, allocations: 14.38 MB / 1.033 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/1.184, allocations: 34.75 kB / 1.033 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/1.186, allocations: 0.49 MB / 1.033 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007141/1.194, allocations: 1.885 MB / 1.035 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/1.197, allocations: 0.889 MB / 1.036 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005048/1.202, allocations: 2.606 MB / 1.039 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/1.204, allocations: 1.116 MB / 1.04 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/1.21, allocations: 1.613 MB / 1.041 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.212, allocations: 0.9241 MB / 1.042 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/1.213, allocations: 111.9 kB / 1.042 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/1.216, allocations: 1.103 MB / 1.043 GB, free: 232 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009939/1.217, allocations: 0.5027 MB / 1.044 GB, free: 15.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001841/1.219, allocations: 0.6339 MB / 1.044 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004319/1.223, allocations: 1.923 MB / 1.046 GB, free: 13.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/1.223, allocations: 0 / 1.046 GB, free: 13.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.246e-06/1.223, allocations: 0 / 1.046 GB, free: 13.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001164/1.223, allocations: 0 / 1.046 GB, free: 13.16 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.004114/1.227, allocations: 1.445 MB / 1.048 GB, free: 11.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/1.227, allocations: 19.95 kB / 1.048 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/1.229, allocations: 242.5 kB / 1.048 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/1.231, allocations: 0.7882 MB / 1.049 GB, free: 10.58 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/1.232, allocations: 70 kB / 1.049 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/1.232, allocations: 92 kB / 1.049 GB, free: 10.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.234, allocations: 1.18 MB / 1.05 GB, free: 9.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/1.234, allocations: 0 / 1.05 GB, free: 9.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.234, allocations: 47.92 kB / 1.05 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/1.234, allocations: 34 kB / 1.05 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/1.236, allocations: 0.9054 MB / 1.051 GB, free: 8.18 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.007858/1.244, allocations: 5.735 MB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.245, allocations: 0.4885 MB / 1.057 GB, free: 1.488 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/1.246, allocations: 318.5 kB / 1.057 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/1.246, allocations: 311.7 kB / 1.058 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/1.247, allocations: 43 kB / 1.058 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=49): time 4.779e-06/1.247, allocations: 0 / 1.058 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of matching and sorting (n=49): time 0.002393/1.249, allocations: 0.7948 MB / 1.059 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/1.249, allocations: 55.84 kB / 1.059 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.251, allocations: 0.7429 MB / 1.059 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.251, allocations: 37.7 kB / 1.059 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/1.251, allocations: 0.5026 MB / 1.06 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/1.251, allocations: 173.5 kB / 1.06 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.252, allocations: 150.4 kB / 1.06 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002542/1.252, allocations: 390.8 kB / 1.061 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/1.253, allocations: 249.8 kB / 1.061 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/1.253, allocations: 0.5335 MB / 1.061 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.255, allocations: 0.7918 MB / 1.062 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.255, allocations: 4 kB / 1.062 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001663/1.256, allocations: 0.8348 MB / 1.063 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/1.256, allocations: 8 kB / 1.063 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/1.256, allocations: 8.094 kB / 1.063 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/1.256, allocations: 15.94 kB / 1.063 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/1.257, allocations: 151.8 kB / 1.063 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.257, allocations: 15.98 kB / 1.063 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/1.258, allocations: 99.3 kB / 1.063 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/1.258, allocations: 36 kB / 1.063 GB, free: 10.89 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.0005184/1.259, allocations: 333.5 kB / 1.064 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/1.259, allocations: 82.97 kB / 1.064 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.26, allocations: 0.61 MB / 1.064 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.26, allocations: 8 kB / 1.064 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.26, allocations: 0 / 1.064 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008194/1.261, allocations: 0.5133 MB / 1.065 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/1.264, allocations: 1.667 MB / 1.066 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/1.264, allocations: 4.219 kB / 1.066 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/1.265, allocations: 111.9 kB / 1.066 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/1.265, allocations: 7.984 kB / 1.066 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/1.265, allocations: 16 kB / 1.066 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.265, allocations: 7.938 kB / 1.066 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.265, allocations: 0 / 1.066 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/1.267, allocations: 1.046 MB / 1.067 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/1.267, allocations: 227.9 kB / 1.068 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.267, allocations: 11.98 kB / 1.068 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/1.268, allocations: 24 kB / 1.068 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/1.268, allocations: 31.95 kB / 1.068 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/1.268, allocations: 23.98 kB / 1.068 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008927/1.269, allocations: 0.5029 MB / 1.068 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.01e-07/1.269, allocations: 4 kB / 1.068 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00152/1.271, allocations: 295.4 kB / 1.069 GB, free: 5.227 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.0007816/1.271, allocations: 208.6 kB / 1.069 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.273, allocations: 0.6042 MB / 1.069 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.273, allocations: 3.938 kB / 1.069 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/1.273, allocations: 272.2 kB / 1.07 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.275, allocations: 449.1 kB / 1.07 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/1.28, allocations: 1.903 MB / 1.072 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/1.281, allocations: 1.122 MB / 1.073 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000892/1.281, allocations: 267.1 kB / 1.073 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.282, allocations: 63.44 kB / 1.073 GB, free: 304 kB / 0.8106 GB Notification: Performance of SimCode: time 1.263e-06/1.282, allocations: 0 / 1.073 GB, free: 304 kB / 0.8106 GB Notification: Performance of Templates: time 0.03068/1.312, allocations: 15.5 MB / 1.088 GB, free: 1.055 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)