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.001509/0.001509, allocations: 100.1 kB / 15.88 MB, free: 12 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.001829/0.001829, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.582 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 0.9816/0.9816, allocations: 143 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 82.04 MB / 0.5943 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4604/0.6187, allocations: 192.9 MB / 0.7827 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.6356, allocations: 14.43 MB / 0.7968 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.637, allocations: 31.81 kB / 0.7968 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.6387, allocations: 417.7 kB / 0.7972 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00456/0.6433, allocations: 1.77 MB / 0.7989 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.6457, allocations: 0.7681 MB / 0.7997 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.6497, allocations: 3.628 MB / 0.8032 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.6512, allocations: 0.9511 MB / 0.8041 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.656, allocations: 1.445 MB / 0.8055 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.658, allocations: 0.9596 MB / 0.8065 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.6582, allocations: 60 kB / 0.8065 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.6609, allocations: 1.255 MB / 0.8078 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.6615, allocations: 462.8 kB / 0.8082 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.6624, allocations: 0.5869 MB / 0.8088 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.6643, allocations: 1.497 MB / 0.8102 GB, free: 496 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6643, allocations: 0 / 0.8102 GB, free: 496 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6643, allocations: 3.938 kB / 0.8102 GB, free: 492 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.6643, allocations: 0 / 0.8102 GB, free: 492 kB / 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.002479/0.6668, allocations: 1.457 MB / 0.8117 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6669, allocations: 8.031 kB / 0.8117 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.6683, allocations: 246.3 kB / 0.8119 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6696, allocations: 0.757 MB / 0.8127 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.6696, allocations: 74 kB / 0.8127 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6698, allocations: 95.91 kB / 0.8128 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6714, allocations: 1.173 MB / 0.814 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.6715, allocations: 4 kB / 0.814 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.6716, allocations: 36 kB / 0.814 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.6716, allocations: 41.94 kB / 0.814 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.673, allocations: 0.8976 MB / 0.8149 GB, free: 11.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.005556/0.6785, allocations: 5.723 MB / 0.8205 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.6794, allocations: 0.5448 MB / 0.821 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.6798, allocations: 319.1 kB / 0.8213 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.6804, allocations: 307.7 kB / 0.8216 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.6805, allocations: 43.88 kB / 0.8217 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.715e-06/0.6805, allocations: 0 / 0.8217 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001611/0.6821, allocations: 0.8025 MB / 0.8225 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6821, allocations: 55.84 kB / 0.8225 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000917/0.6831, allocations: 0.7548 MB / 0.8232 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.6831, allocations: 37.7 kB / 0.8233 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.6835, allocations: 0.5104 MB / 0.8238 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.6837, allocations: 173.5 kB / 0.8239 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.6839, allocations: 146.5 kB / 0.8241 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.684, allocations: 337.9 kB / 0.8244 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.6843, allocations: 249.8 kB / 0.8246 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.6849, allocations: 0.5508 MB / 0.8252 GB, free: 296 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.6859, allocations: 0.8034 MB / 0.826 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6859, allocations: 0 / 0.826 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001288/0.6872, allocations: 0.846 MB / 0.8268 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6872, allocations: 8 kB / 0.8268 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.6873, allocations: 10.34 kB / 0.8268 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.6873, allocations: 12 kB / 0.8268 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.6879, allocations: 159.7 kB / 0.827 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.6879, allocations: 15.94 kB / 0.827 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/0.6888, allocations: 143 kB / 0.8271 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.6889, allocations: 43.98 kB / 0.8272 GB, free: 14.14 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.0005117/0.6894, allocations: 333.4 kB / 0.8275 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.6896, allocations: 82.97 kB / 0.8276 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.6906, allocations: 0.6179 MB / 0.8282 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6906, allocations: 11.94 kB / 0.8282 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6906, allocations: 0 / 0.8282 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006841/0.6913, allocations: 0.5134 MB / 0.8287 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.6939, allocations: 1.671 MB / 0.8303 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.6939, allocations: 8.156 kB / 0.8303 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.6944, allocations: 115.8 kB / 0.8304 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6945, allocations: 4 kB / 0.8304 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.6945, allocations: 19.98 kB / 0.8305 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.6945, allocations: 4 kB / 0.8305 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6945, allocations: 0 / 0.8305 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.6959, allocations: 1.019 MB / 0.8315 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.6963, allocations: 223.9 kB / 0.8317 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6964, allocations: 12 kB / 0.8317 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.697, allocations: 74.78 kB / 0.8318 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.6971, allocations: 31.91 kB / 0.8318 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.6971, allocations: 23.98 kB / 0.8318 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006482/0.6978, allocations: 0.5107 MB / 0.8323 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6978, allocations: 0 / 0.8323 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009056/0.6987, allocations: 291.4 kB / 0.8326 GB, free: 8.434 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.0005102/0.6992, allocations: 213.8 kB / 0.8328 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009658/0.7002, allocations: 0.6119 MB / 0.8334 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7002, allocations: 192 / 0.8334 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.7006, allocations: 275.6 kB / 0.8336 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.7027, allocations: 432 kB / 0.8341 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.7059, allocations: 2.397 MB / 0.8364 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.7066, allocations: 1.13 MB / 0.8375 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.7069, allocations: 79.42 kB / 0.8376 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.7069, allocations: 0 / 0.8376 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.023/0.7299, allocations: 14.65 MB / 0.8519 GB, free: 4.762 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)