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.0008088/0.0008088, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008823/0.0008823, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.422 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.8485/0.8485, allocations: 143.2 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 83.42 MB / 0.5973 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.3799/0.5059, allocations: 177.6 MB / 0.7707 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.5199, allocations: 13.32 MB / 0.7837 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.5207, allocations: 31.81 kB / 0.7837 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.5217, allocations: 349.7 kB / 0.7841 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.5248, allocations: 1.368 MB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.5265, allocations: 0.6651 MB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.5293, allocations: 3.048 MB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009677/0.5303, allocations: 0.8139 MB / 0.7898 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5324, allocations: 1.206 MB / 0.791 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.5335, allocations: 0.8796 MB / 0.7919 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/0.5336, allocations: 48 kB / 0.7919 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.535, allocations: 0.5691 MB / 0.7925 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.5354, allocations: 442.8 kB / 0.7929 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.5356, allocations: 261.1 kB / 0.7931 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.5369, allocations: 1.418 MB / 0.7945 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.537, allocations: 4 kB / 0.7945 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.537, allocations: 0 / 0.7945 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.537, allocations: 0 / 0.7945 GB, free: 2.578 MB / 0.6075 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.001669/0.5387, allocations: 1.242 MB / 0.7957 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.5387, allocations: 8.031 kB / 0.7958 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5398, allocations: 254.3 kB / 0.796 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.5411, allocations: 0.8276 MB / 0.7968 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.5412, allocations: 70 kB / 0.7969 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5413, allocations: 104 kB / 0.797 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.5429, allocations: 1.161 MB / 0.7981 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5429, allocations: 7.938 kB / 0.7981 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.543, allocations: 39.91 kB / 0.7981 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.543, allocations: 37.98 kB / 0.7982 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5443, allocations: 0.8976 MB / 0.7991 GB, free: 13.78 MB / 0.6231 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.00502/0.5493, allocations: 5.749 MB / 0.8047 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.5501, allocations: 0.5667 MB / 0.8052 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.5506, allocations: 333.9 kB / 0.8055 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/0.5511, allocations: 327.8 kB / 0.8059 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.5512, allocations: 42.94 kB / 0.8059 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.5512, allocations: 0 / 0.8059 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.00142/0.5526, allocations: 0.8298 MB / 0.8067 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5527, allocations: 85.48 kB / 0.8068 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.5534, allocations: 0.7472 MB / 0.8075 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.5535, allocations: 37.7 kB / 0.8076 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.5538, allocations: 0.5027 MB / 0.808 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.554, allocations: 185.4 kB / 0.8082 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.554, allocations: 12 kB / 0.8082 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5541, allocations: 334 kB / 0.8086 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.5545, allocations: 257.8 kB / 0.8088 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.555, allocations: 0.5692 MB / 0.8094 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.5555, allocations: 364.6 kB / 0.8097 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5555, allocations: 0 / 0.8097 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001139/0.5567, allocations: 0.8623 MB / 0.8105 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5567, allocations: 8 kB / 0.8106 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5567, allocations: 8 kB / 0.8106 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5567, allocations: 23.94 kB / 0.8106 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.5572, allocations: 159.8 kB / 0.8107 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.5573, allocations: 20.47 kB / 0.8108 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.558, allocations: 147.1 kB / 0.8109 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.5581, allocations: 39.98 kB / 0.8109 GB, free: 0.8672 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003539/0.5585, allocations: 325.5 kB / 0.8112 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.5586, allocations: 90.88 kB / 0.8113 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009057/0.5596, allocations: 0.6332 MB / 0.812 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5596, allocations: 11.94 kB / 0.812 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5596, allocations: 4 kB / 0.812 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006381/0.5602, allocations: 0.5289 MB / 0.8125 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.5624, allocations: 1.77 MB / 0.8142 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5624, allocations: 0 / 0.8142 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.5629, allocations: 123.8 kB / 0.8143 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5629, allocations: 4 kB / 0.8143 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.5629, allocations: 11.98 kB / 0.8143 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.563, allocations: 4.25 kB / 0.8143 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.563, allocations: 8 kB / 0.8144 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.5641, allocations: 1.049 MB / 0.8154 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.5644, allocations: 231.8 kB / 0.8156 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.5645, allocations: 16 kB / 0.8156 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.565, allocations: 59.94 kB / 0.8157 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.565, allocations: 43.83 kB / 0.8157 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.5651, allocations: 20 kB / 0.8157 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005277/0.5656, allocations: 0.5029 MB / 0.8162 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5656, allocations: 0 / 0.8162 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007614/0.5664, allocations: 311.2 kB / 0.8165 GB, free: 10.98 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000417/0.5668, allocations: 206.8 kB / 0.8167 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008261/0.5676, allocations: 0.6241 MB / 0.8173 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5677, allocations: 0 / 0.8173 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.568, allocations: 284 kB / 0.8176 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.5697, allocations: 440.9 kB / 0.818 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.5724, allocations: 2.416 MB / 0.8204 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.573, allocations: 1.118 MB / 0.8215 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007178/0.5738, allocations: 280.4 kB / 0.8217 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.574, allocations: 79.41 kB / 0.8218 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.574, allocations: 4 kB / 0.8218 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.02155/0.5955, allocations: 14.84 MB / 0.8363 GB, free: 6.926 MB / 0.6544 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)