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.001485/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001771/0.001771, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.9665/0.9665, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1662, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5438/0.7101, allocations: 192.9 MB / 0.782 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.7275, allocations: 14.42 MB / 0.7961 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.729, allocations: 35.81 kB / 0.7961 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.731, allocations: 421.7 kB / 0.7965 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.7364, allocations: 1.768 MB / 0.7983 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.7391, allocations: 0.7715 MB / 0.799 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00408/0.7432, allocations: 3.626 MB / 0.8026 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.7447, allocations: 0.9386 MB / 0.8035 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/0.7498, allocations: 1.452 MB / 0.8049 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.7517, allocations: 0.9672 MB / 0.8058 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.752, allocations: 60 kB / 0.8059 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.7546, allocations: 1.259 MB / 0.8071 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.7552, allocations: 466.7 kB / 0.8076 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.7562, allocations: 0.5792 MB / 0.8081 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.7588, allocations: 1.986 MB / 0.8101 GB, free: 36 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7588, allocations: 0 / 0.8101 GB, free: 36 kB / 0.6231 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7588, allocations: 0 / 0.8101 GB, free: 36 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.8e-05/0.7589, allocations: 4 kB / 0.8101 GB, free: 32 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.002638/0.7615, allocations: 1.46 MB / 0.8115 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.7615, allocations: 12.03 kB / 0.8115 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.763, allocations: 246.3 kB / 0.8117 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.7642, allocations: 0.7608 MB / 0.8125 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.7643, allocations: 73.98 kB / 0.8126 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.7644, allocations: 92 kB / 0.8126 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7662, allocations: 1.166 MB / 0.8138 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.7662, allocations: 7.938 kB / 0.8138 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.7663, allocations: 40 kB / 0.8138 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.7663, allocations: 37.94 kB / 0.8139 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.7678, allocations: 0.9054 MB / 0.8147 GB, free: 11.08 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.005626/0.7734, allocations: 5.723 MB / 0.8203 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.7743, allocations: 0.5392 MB / 0.8209 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.7747, allocations: 323.1 kB / 0.8212 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.7753, allocations: 311.7 kB / 0.8215 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7753, allocations: 46.94 kB / 0.8215 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.7753, allocations: 0 / 0.8215 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001472/0.7768, allocations: 0.7987 MB / 0.8223 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7769, allocations: 59.84 kB / 0.8224 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.7778, allocations: 0.7432 MB / 0.8231 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.7778, allocations: 37.7 kB / 0.8231 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.7782, allocations: 0.5104 MB / 0.8236 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.7783, allocations: 177.5 kB / 0.8238 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.7785, allocations: 142.5 kB / 0.8239 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7787, allocations: 337.9 kB / 0.8242 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.779, allocations: 245.9 kB / 0.8245 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.7796, allocations: 0.5546 MB / 0.825 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.7806, allocations: 0.8034 MB / 0.8258 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7806, allocations: 4 kB / 0.8258 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001255/0.7819, allocations: 0.842 MB / 0.8266 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7819, allocations: 8.969 kB / 0.8266 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7819, allocations: 8 kB / 0.8266 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.782, allocations: 16 kB / 0.8267 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.7825, allocations: 151.8 kB / 0.8268 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.7826, allocations: 19.92 kB / 0.8268 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.7834, allocations: 151 kB / 0.827 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.7835, allocations: 32 kB / 0.827 GB, free: 13.69 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.0004/0.7839, allocations: 333.4 kB / 0.8273 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.7841, allocations: 86.97 kB / 0.8274 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.785, allocations: 0.6141 MB / 0.828 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.785, allocations: 4 kB / 0.828 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7851, allocations: 0 / 0.828 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006954/0.7858, allocations: 0.5211 MB / 0.8285 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.7882, allocations: 1.675 MB / 0.8301 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7882, allocations: 4.031 kB / 0.8301 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.7888, allocations: 119.8 kB / 0.8303 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.7888, allocations: 4 kB / 0.8303 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.7888, allocations: 12 kB / 0.8303 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7889, allocations: 4 kB / 0.8303 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7889, allocations: 4 kB / 0.8303 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.7902, allocations: 1.019 MB / 0.8313 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.7905, allocations: 224.1 kB / 0.8315 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7907, allocations: 16 kB / 0.8315 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.7913, allocations: 75.77 kB / 0.8316 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.7913, allocations: 35.89 kB / 0.8316 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.7914, allocations: 16 kB / 0.8316 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006444/0.792, allocations: 0.5107 MB / 0.8321 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.792, allocations: 0 / 0.8321 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008668/0.7929, allocations: 295.4 kB / 0.8324 GB, free: 7.977 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.0004649/0.7934, allocations: 207.3 kB / 0.8326 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.7943, allocations: 0.6042 MB / 0.8332 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7943, allocations: 4.062 kB / 0.8332 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.7947, allocations: 271.7 kB / 0.8335 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7967, allocations: 440.1 kB / 0.8339 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.8001, allocations: 2.311 MB / 0.8361 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/0.8009, allocations: 1.13 MB / 0.8372 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008581/0.8017, allocations: 268.3 kB / 0.8375 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.8019, allocations: 75.36 kB / 0.8376 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.8019, allocations: 0 / 0.8376 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of Templates: time 0.02736/0.8293, allocations: 14.95 MB / 0.8522 GB, free: 3.949 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)