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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001165/0.001166, allocations: 190.4 kB / 16.25 MB, free: 6.625 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.039/1.039, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.89 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.173, allocations: 82.04 MB / 0.5938 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4902/0.6632, allocations: 192.6 MB / 0.7819 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.6855, allocations: 14.24 MB / 0.7958 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.6868, allocations: 31.81 kB / 0.7959 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.6886, allocations: 441.7 kB / 0.7963 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.6937, allocations: 1.763 MB / 0.798 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.6963, allocations: 0.7835 MB / 0.7988 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.7, allocations: 2.573 MB / 0.8013 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.7017, allocations: 1.076 MB / 0.8023 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.707, allocations: 1.583 MB / 0.8039 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.7089, allocations: 0.9928 MB / 0.8048 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.7093, allocations: 108 kB / 0.8049 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.7118, allocations: 1.146 MB / 0.8061 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.7125, allocations: 0.4988 MB / 0.8066 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.7136, allocations: 0.6416 MB / 0.8072 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.7166, allocations: 2.033 MB / 0.8092 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7167, allocations: 0 / 0.8092 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7167, allocations: 4 kB / 0.8092 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.364e-05/0.7167, allocations: 3.938 kB / 0.8092 GB, free: 1.18 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.002688/0.7194, allocations: 1.46 MB / 0.8106 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7195, allocations: 8.031 kB / 0.8106 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.721, allocations: 250.3 kB / 0.8108 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.7223, allocations: 0.7569 MB / 0.8116 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.7224, allocations: 74 kB / 0.8117 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.7225, allocations: 92 kB / 0.8117 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.7246, allocations: 1.165 MB / 0.8129 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.7247, allocations: 7.938 kB / 0.8129 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.7248, allocations: 43.98 kB / 0.8129 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.7249, allocations: 37.94 kB / 0.813 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.7264, allocations: 0.9054 MB / 0.8138 GB, free: 12.23 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.006627/0.7331, allocations: 5.72 MB / 0.8194 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009379/0.7341, allocations: 0.5432 MB / 0.82 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.7346, allocations: 319.1 kB / 0.8203 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.7353, allocations: 311.7 kB / 0.8206 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.7353, allocations: 39 kB / 0.8206 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.7354, allocations: 0 / 0.8206 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001878/0.7372, allocations: 0.7987 MB / 0.8214 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.7373, allocations: 59.84 kB / 0.8214 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.7385, allocations: 0.7432 MB / 0.8222 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.7386, allocations: 45.69 kB / 0.8222 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.7389, allocations: 0.5027 MB / 0.8227 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.7391, allocations: 177.5 kB / 0.8229 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.7394, allocations: 146.5 kB / 0.823 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7395, allocations: 337.9 kB / 0.8233 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.7399, allocations: 245.9 kB / 0.8236 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.7406, allocations: 0.5469 MB / 0.8241 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7417, allocations: 0.8073 MB / 0.8249 GB, free: 80 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.7418, allocations: 4 kB / 0.8249 GB, free: 76 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001427/0.7432, allocations: 0.8428 MB / 0.8257 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7432, allocations: 8 kB / 0.8257 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.7433, allocations: 12.12 kB / 0.8257 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.7433, allocations: 12 kB / 0.8257 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.7439, allocations: 155.8 kB / 0.8259 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.7439, allocations: 19.92 kB / 0.8259 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009912/0.7449, allocations: 143.7 kB / 0.8261 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.745, allocations: 36 kB / 0.8261 GB, free: 14.84 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.000484/0.7455, allocations: 333.4 kB / 0.8264 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7457, allocations: 86.97 kB / 0.8265 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.7467, allocations: 0.6119 MB / 0.8271 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7467, allocations: 4 kB / 0.8271 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.7468, allocations: 15.88 kB / 0.8271 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007114/0.7475, allocations: 0.5211 MB / 0.8276 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.7501, allocations: 1.663 MB / 0.8292 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7501, allocations: 4 kB / 0.8292 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.7507, allocations: 115.8 kB / 0.8293 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.7507, allocations: 4 kB / 0.8294 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.7507, allocations: 16 kB / 0.8294 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.7507, allocations: 4 kB / 0.8294 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7507, allocations: 0 / 0.8294 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.7521, allocations: 1.015 MB / 0.8304 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.7525, allocations: 231.9 kB / 0.8306 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.7526, allocations: 8.688 kB / 0.8306 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.7533, allocations: 71.78 kB / 0.8307 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.7534, allocations: 35.89 kB / 0.8307 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.7534, allocations: 20 kB / 0.8307 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006663/0.7541, allocations: 0.5068 MB / 0.8312 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7541, allocations: 0 / 0.8312 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009589/0.7551, allocations: 303.4 kB / 0.8315 GB, free: 9.141 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.0005274/0.7556, allocations: 220.1 kB / 0.8317 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.7568, allocations: 0.717 MB / 0.8324 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7568, allocations: 0 / 0.8324 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.7572, allocations: 271.6 kB / 0.8327 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.7593, allocations: 440 kB / 0.8331 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.7626, allocations: 2.313 MB / 0.8353 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.7633, allocations: 1.133 MB / 0.8365 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008915/0.7642, allocations: 267.1 kB / 0.8367 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.7644, allocations: 71.42 kB / 0.8368 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7644, allocations: 0 / 0.8368 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of Templates: time 0.02596/0.7904, allocations: 15.36 MB / 0.8518 GB, free: 4.598 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)