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.001041/0.001041, allocations: 103 kB / 16.35 MB, free: 5.824 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.001044/0.001044, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.8298/0.8298, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4671/0.8312, allocations: 195.2 MB / 0.7863 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.8454, allocations: 14.36 MB / 0.8003 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.8469, allocations: 39.75 kB / 0.8004 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.8483, allocations: 0.49 MB / 0.8008 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.8523, allocations: 1.882 MB / 0.8027 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.8544, allocations: 0.8724 MB / 0.8035 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002473/0.8569, allocations: 2.577 MB / 0.8061 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.858, allocations: 1.112 MB / 0.8071 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.8613, allocations: 1.603 MB / 0.8087 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.8624, allocations: 0.9333 MB / 0.8096 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.8626, allocations: 108.1 kB / 0.8097 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.8644, allocations: 1.101 MB / 0.8108 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.8648, allocations: 0.4915 MB / 0.8113 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005416/0.8653, allocations: 0.6336 MB / 0.8119 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.8672, allocations: 1.981 MB / 0.8138 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8672, allocations: 0.5625 kB / 0.8138 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8672, allocations: 0.75 kB / 0.8138 GB, free: 384 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.8672, allocations: 3.188 kB / 0.8138 GB, free: 384 kB / 0.5762 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.001877/0.8691, allocations: 1.457 MB / 0.8153 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.8691, allocations: 9.219 kB / 0.8153 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.8704, allocations: 252.5 kB / 0.8155 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.8717, allocations: 0.7829 MB / 0.8163 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.8718, allocations: 70.91 kB / 0.8163 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.8719, allocations: 94.94 kB / 0.8164 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.8734, allocations: 1.179 MB / 0.8176 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.8735, allocations: 6.188 kB / 0.8176 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.8736, allocations: 35.34 kB / 0.8176 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.8736, allocations: 36.08 kB / 0.8177 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.8748, allocations: 0.902 MB / 0.8185 GB, free: 14.98 MB / 0.5919 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.005117/0.8799, allocations: 5.737 MB / 0.8241 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.8806, allocations: 0.5449 MB / 0.8247 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.881, allocations: 314.1 kB / 0.825 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.8816, allocations: 310.5 kB / 0.8253 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.8817, allocations: 41.09 kB / 0.8253 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.354e-06/0.8817, allocations: 0 / 0.8253 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001368/0.883, allocations: 0.8072 MB / 0.8261 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.8831, allocations: 61.09 kB / 0.8261 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.8839, allocations: 0.7438 MB / 0.8269 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.884, allocations: 38.58 kB / 0.8269 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.8843, allocations: 0.5073 MB / 0.8274 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.8844, allocations: 176.2 kB / 0.8276 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8846, allocations: 146.9 kB / 0.8277 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8848, allocations: 334.8 kB / 0.828 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.8851, allocations: 242.9 kB / 0.8283 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.8857, allocations: 0.5587 MB / 0.8288 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.8866, allocations: 0.8045 MB / 0.8296 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8866, allocations: 3.406 kB / 0.8296 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001115/0.8877, allocations: 0.8423 MB / 0.8304 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8877, allocations: 8.688 kB / 0.8304 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8878, allocations: 17 kB / 0.8304 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.8878, allocations: 16.62 kB / 0.8305 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.8883, allocations: 157 kB / 0.8306 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.8883, allocations: 17.3 kB / 0.8306 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/0.889, allocations: 86.56 kB / 0.8307 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.8891, allocations: 38.3 kB / 0.8308 GB, free: 7.594 MB / 0.5919 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.0003972/0.8895, allocations: 328.2 kB / 0.8311 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8896, allocations: 86.8 kB / 0.8311 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/0.8905, allocations: 0.622 MB / 0.8318 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.8905, allocations: 9.031 kB / 0.8318 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8905, allocations: 0 / 0.8318 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006524/0.8912, allocations: 0.5228 MB / 0.8323 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.8935, allocations: 1.669 MB / 0.8339 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8935, allocations: 2.781 kB / 0.8339 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.894, allocations: 108.7 kB / 0.834 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.894, allocations: 3.75 kB / 0.834 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.8941, allocations: 14.47 kB / 0.834 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.8941, allocations: 10.98 kB / 0.834 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8941, allocations: 2.719 kB / 0.834 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.8954, allocations: 1.019 MB / 0.835 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.8958, allocations: 223 kB / 0.8352 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.8959, allocations: 10.86 kB / 0.8353 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.8963, allocations: 16.03 kB / 0.8353 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.8964, allocations: 39.39 kB / 0.8353 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.8964, allocations: 20.91 kB / 0.8353 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005624/0.897, allocations: 0.5141 MB / 0.8358 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.897, allocations: 4 kB / 0.8358 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007878/0.8978, allocations: 299.2 kB / 0.8361 GB, free: 4.453 MB / 0.5919 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.000428/0.8982, allocations: 217.6 kB / 0.8363 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.8991, allocations: 0.6123 MB / 0.8369 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8991, allocations: 0 / 0.8369 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.8994, allocations: 272.2 kB / 0.8372 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.9011, allocations: 441.6 kB / 0.8376 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.9039, allocations: 1.926 MB / 0.8395 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.9046, allocations: 1.122 MB / 0.8406 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.9053, allocations: 263 kB / 0.8408 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.9054, allocations: 75.42 kB / 0.8409 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.9055, allocations: 0 / 0.8409 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of Templates: time 0.02414/0.9296, allocations: 15.42 MB / 0.856 GB, free: 1.613 MB / 0.6075 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)