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.0008606/0.0008607, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005312/0.005312, allocations: 169 kB / 16.26 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.054/1.054, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 0.5164 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 83.4 MB / 0.5978 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5563/0.7425, allocations: 190.4 MB / 0.7838 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.7609, allocations: 14.23 MB / 0.7977 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.7626, allocations: 31.81 kB / 0.7977 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.7642, allocations: 417.7 kB / 0.7981 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.7695, allocations: 1.77 MB / 0.7998 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.772, allocations: 0.7725 MB / 0.8006 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00433/0.7764, allocations: 3.626 MB / 0.8041 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.7779, allocations: 0.9114 MB / 0.805 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.7829, allocations: 1.408 MB / 0.8064 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.7849, allocations: 0.9305 MB / 0.8073 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.785, allocations: 48 kB / 0.8073 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.7879, allocations: 1.239 MB / 0.8085 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.7885, allocations: 442.7 kB / 0.809 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008724/0.7894, allocations: 0.5847 MB / 0.8095 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.7923, allocations: 1.951 MB / 0.8114 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7923, allocations: 0 / 0.8114 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7923, allocations: 0 / 0.8114 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.7924, allocations: 0 / 0.8114 GB, free: 1.273 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.002068/0.7944, allocations: 1.238 MB / 0.8126 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.7945, allocations: 15.91 kB / 0.8127 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.7958, allocations: 250.3 kB / 0.8129 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.797, allocations: 0.7531 MB / 0.8136 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.7971, allocations: 77.94 kB / 0.8137 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.7973, allocations: 88 kB / 0.8138 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.799, allocations: 1.173 MB / 0.8149 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.799, allocations: 0 / 0.8149 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.7991, allocations: 36 kB / 0.815 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.7992, allocations: 37.94 kB / 0.815 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.8005, allocations: 0.9132 MB / 0.8159 GB, free: 12.54 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.005672/0.8062, allocations: 5.727 MB / 0.8215 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.807, allocations: 0.5405 MB / 0.822 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.8074, allocations: 319.1 kB / 0.8223 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/0.808, allocations: 323.8 kB / 0.8226 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.8081, allocations: 46.92 kB / 0.8227 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.434e-06/0.8081, allocations: 0 / 0.8227 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001498/0.8096, allocations: 0.7948 MB / 0.8235 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.8096, allocations: 59.84 kB / 0.8235 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.8105, allocations: 0.7471 MB / 0.8242 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.8106, allocations: 37.7 kB / 0.8243 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.811, allocations: 0.5142 MB / 0.8248 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.8111, allocations: 177.5 kB / 0.8249 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.8112, allocations: 61.69 kB / 0.825 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8113, allocations: 337.9 kB / 0.8253 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.8117, allocations: 245.9 kB / 0.8256 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.8123, allocations: 0.5507 MB / 0.8261 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.8133, allocations: 0.8035 MB / 0.8269 GB, free: 468 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8133, allocations: 4 kB / 0.8269 GB, free: 464 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001226/0.8145, allocations: 0.8428 MB / 0.8277 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.8145, allocations: 8.156 kB / 0.8277 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8146, allocations: 15.94 kB / 0.8277 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.8146, allocations: 20.03 kB / 0.8278 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.8151, allocations: 159.7 kB / 0.8279 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.8152, allocations: 15.94 kB / 0.8279 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.8161, allocations: 143 kB / 0.8281 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.8161, allocations: 36 kB / 0.8281 GB, free: 15.21 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.0004671/0.8166, allocations: 337.4 kB / 0.8284 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.8167, allocations: 82.97 kB / 0.8285 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8178, allocations: 0.6179 MB / 0.8291 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8178, allocations: 12 kB / 0.8291 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8178, allocations: 0 / 0.8291 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006827/0.8185, allocations: 0.5173 MB / 0.8296 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.8209, allocations: 1.667 MB / 0.8312 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.8209, allocations: 4 kB / 0.8312 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.8214, allocations: 111.8 kB / 0.8313 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.8214, allocations: 4 kB / 0.8314 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.8215, allocations: 16 kB / 0.8314 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.8215, allocations: 7.984 kB / 0.8314 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.8215, allocations: 5.422 kB / 0.8314 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.8228, allocations: 1.011 MB / 0.8324 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.8232, allocations: 227.9 kB / 0.8326 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.8233, allocations: 15.98 kB / 0.8326 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.8238, allocations: 67.73 kB / 0.8327 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.8239, allocations: 31.95 kB / 0.8327 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.8239, allocations: 23.98 kB / 0.8327 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006484/0.8246, allocations: 0.5068 MB / 0.8332 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.8246, allocations: 0 / 0.8332 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001022/0.8256, allocations: 299.4 kB / 0.8335 GB, free: 9.504 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.0005507/0.8262, allocations: 210.9 kB / 0.8337 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009541/0.8272, allocations: 0.6115 MB / 0.8343 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8272, allocations: 0 / 0.8343 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.8275, allocations: 271.6 kB / 0.8346 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.8297, allocations: 439.1 kB / 0.835 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.8329, allocations: 2.402 MB / 0.8373 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.8336, allocations: 1.13 MB / 0.8384 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.8344, allocations: 272.2 kB / 0.8387 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.8346, allocations: 67.44 kB / 0.8387 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.8346, allocations: 0 / 0.8387 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of Templates: time 0.02617/0.8608, allocations: 14.89 MB / 0.8533 GB, free: 5.441 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)