Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001009/0.001009, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 183.7 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.041/1.041, allocations: 143.2 MB / 435.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 12 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 83.42 MB / 0.5985 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4862/0.6468, allocations: 190.4 MB / 0.7844 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.6647, allocations: 14.23 MB / 0.7983 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.666, allocations: 27.81 kB / 0.7983 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.6675, allocations: 417.7 kB / 0.7987 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.6725, allocations: 1.776 MB / 0.8005 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.675, allocations: 0.768 MB / 0.8012 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.6794, allocations: 3.626 MB / 0.8048 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.6809, allocations: 0.9128 MB / 0.8057 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004698/0.6856, allocations: 1.403 MB / 0.807 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.6875, allocations: 0.9265 MB / 0.8079 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.6877, allocations: 48 kB / 0.808 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.6903, allocations: 1.239 MB / 0.8092 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.6908, allocations: 442.7 kB / 0.8096 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.6915, allocations: 0.5925 MB / 0.8102 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.6932, allocations: 1.465 MB / 0.8116 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6933, allocations: 0 / 0.8116 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6933, allocations: 7.938 kB / 0.8116 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.6933, allocations: 0 / 0.8116 GB, free: 1.754 MB / 0.6231 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.002043/0.6954, allocations: 1.231 MB / 0.8128 GB, free: 484 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.6954, allocations: 8.031 kB / 0.8128 GB, free: 476 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6968, allocations: 258.3 kB / 0.8131 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.698, allocations: 0.753 MB / 0.8138 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.6981, allocations: 70 kB / 0.8139 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.6982, allocations: 96 kB / 0.814 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.6999, allocations: 1.169 MB / 0.8151 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6999, allocations: 7.938 kB / 0.8151 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/0.7, allocations: 36 kB / 0.8152 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.7001, allocations: 41.92 kB / 0.8152 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.7014, allocations: 0.9015 MB / 0.8161 GB, free: 13.03 MB / 0.6387 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.005432/0.7069, allocations: 5.735 MB / 0.8217 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.7077, allocations: 0.5359 MB / 0.8222 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.7082, allocations: 320.4 kB / 0.8225 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/0.7087, allocations: 327.7 kB / 0.8228 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.7088, allocations: 39 kB / 0.8229 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.7088, allocations: 0 / 0.8229 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001442/0.7102, allocations: 0.8026 MB / 0.8236 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.7103, allocations: 55.84 kB / 0.8237 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.7112, allocations: 0.751 MB / 0.8244 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.7112, allocations: 37.7 kB / 0.8245 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.7116, allocations: 0.5064 MB / 0.825 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.7118, allocations: 177.5 kB / 0.8251 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.7118, allocations: 65.69 kB / 0.8252 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.712, allocations: 341.9 kB / 0.8255 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.7123, allocations: 245.8 kB / 0.8258 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.7129, allocations: 0.5508 MB / 0.8263 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.7139, allocations: 0.7995 MB / 0.8271 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.7139, allocations: 4 kB / 0.8271 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001186/0.7151, allocations: 0.8424 MB / 0.8279 GB, free: 92 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.7152, allocations: 8 kB / 0.8279 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7152, allocations: 15.98 kB / 0.8279 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.7152, allocations: 11.94 kB / 0.8279 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.7158, allocations: 155.8 kB / 0.8281 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.7158, allocations: 15.94 kB / 0.8281 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.7167, allocations: 147.5 kB / 0.8282 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.7168, allocations: 43.92 kB / 0.8283 GB, free: 15.7 MB / 0.6544 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.0004449/0.7172, allocations: 333.4 kB / 0.8286 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7174, allocations: 90.95 kB / 0.8287 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.7183, allocations: 0.614 MB / 0.8293 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.7184, allocations: 8.031 kB / 0.8293 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7184, allocations: 0 / 0.8293 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006833/0.7191, allocations: 0.5134 MB / 0.8298 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.7214, allocations: 1.671 MB / 0.8314 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7215, allocations: 0 / 0.8314 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.722, allocations: 115.8 kB / 0.8315 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/0.722, allocations: 7.984 kB / 0.8315 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.722, allocations: 16.22 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.722, allocations: 8 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7221, allocations: 4 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.7233, allocations: 1.015 MB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.7237, allocations: 227.9 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.7238, allocations: 12 kB / 0.8328 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.7243, allocations: 67.78 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.7244, allocations: 39.89 kB / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.7245, allocations: 16 kB / 0.8329 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006099/0.7251, allocations: 0.5107 MB / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7251, allocations: 0 / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008877/0.726, allocations: 295.4 kB / 0.8337 GB, free: 9.996 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0005088/0.7265, allocations: 209.8 kB / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.7275, allocations: 0.6079 MB / 0.8345 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7275, allocations: 0 / 0.8345 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.7278, allocations: 268.2 kB / 0.8347 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.7301, allocations: 441.8 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.7334, allocations: 2.49 MB / 0.8376 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.7342, allocations: 1.126 MB / 0.8387 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.7344, allocations: 79.42 kB / 0.8388 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.7344, allocations: 0 / 0.8388 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.02212/0.7566, allocations: 14.52 MB / 0.8529 GB, free: 6.367 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)