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.001152/0.001152, allocations: 104 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.001107/0.001107, allocations: 193 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.13 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.9071/0.9071, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.41, allocations: 82.03 MB / 0.5957 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6107/1.021, allocations: 195.2 MB / 0.7863 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.036, allocations: 14.37 MB / 0.8003 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/1.038, allocations: 36.19 kB / 0.8004 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/1.04, allocations: 0.4982 MB / 0.8009 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/1.044, allocations: 1.878 MB / 0.8027 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.046, allocations: 0.869 MB / 0.8035 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003097/1.049, allocations: 2.575 MB / 0.8061 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.051, allocations: 1.116 MB / 0.8071 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/1.055, allocations: 1.606 MB / 0.8087 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/1.056, allocations: 0.919 MB / 0.8096 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/1.056, allocations: 106.1 kB / 0.8097 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/1.058, allocations: 1.1 MB / 0.8108 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/1.058, allocations: 0.4953 MB / 0.8113 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006041/1.059, allocations: 0.6324 MB / 0.8119 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/1.061, allocations: 1.979 MB / 0.8138 GB, free: 372 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.061, allocations: 1 kB / 0.8138 GB, free: 372 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/1.061, allocations: 0 / 0.8138 GB, free: 372 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.061, allocations: 0 / 0.8138 GB, free: 372 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.002141/1.063, allocations: 1.462 MB / 0.8152 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/1.064, allocations: 9.344 kB / 0.8153 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.065, allocations: 254 kB / 0.8155 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.066, allocations: 0.7798 MB / 0.8163 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/1.066, allocations: 75.19 kB / 0.8163 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/1.067, allocations: 94.72 kB / 0.8164 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/1.068, allocations: 1.177 MB / 0.8176 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/1.069, allocations: 3.781 kB / 0.8176 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/1.069, allocations: 43.12 kB / 0.8176 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/1.069, allocations: 37.14 kB / 0.8176 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.07, allocations: 0.8983 MB / 0.8185 GB, free: 14.96 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.006766/1.077, allocations: 5.736 MB / 0.8241 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/1.077, allocations: 0.5448 MB / 0.8247 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/1.078, allocations: 323.1 kB / 0.825 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/1.079, allocations: 308.4 kB / 0.8253 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/1.079, allocations: 40.88 kB / 0.8253 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.295e-06/1.079, allocations: 0 / 0.8253 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001503/1.08, allocations: 0.8056 MB / 0.8261 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/1.08, allocations: 61.31 kB / 0.8261 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/1.081, allocations: 0.7448 MB / 0.8269 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/1.081, allocations: 38.42 kB / 0.8269 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/1.081, allocations: 0.5121 MB / 0.8274 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.082, allocations: 172.8 kB / 0.8276 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.082, allocations: 147.8 kB / 0.8277 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002083/1.082, allocations: 337.3 kB / 0.828 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.082, allocations: 250.2 kB / 0.8283 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/1.083, allocations: 0.5468 MB / 0.8288 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/1.084, allocations: 0.8035 MB / 0.8296 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.084, allocations: 2.781 kB / 0.8296 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001165/1.085, allocations: 0.8446 MB / 0.8304 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.085, allocations: 11.19 kB / 0.8304 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.085, allocations: 12.84 kB / 0.8304 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.085, allocations: 14.81 kB / 0.8305 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/1.086, allocations: 155.9 kB / 0.8306 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.086, allocations: 16.12 kB / 0.8306 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/1.086, allocations: 93.28 kB / 0.8307 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/1.086, allocations: 32.14 kB / 0.8307 GB, free: 7.574 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.0005063/1.087, allocations: 329.6 kB / 0.8311 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/1.087, allocations: 86.67 kB / 0.8311 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/1.088, allocations: 0.6247 MB / 0.8317 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.088, allocations: 2.156 kB / 0.8318 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.088, allocations: 6 kB / 0.8318 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006699/1.089, allocations: 0.5182 MB / 0.8323 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/1.091, allocations: 1.667 MB / 0.8339 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.091, allocations: 2.406 kB / 0.8339 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/1.092, allocations: 112.7 kB / 0.834 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.092, allocations: 3.812 kB / 0.834 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/1.092, allocations: 14.47 kB / 0.834 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/1.092, allocations: 8.109 kB / 0.834 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.092, allocations: 8.219 kB / 0.834 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/1.093, allocations: 1.021 MB / 0.835 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/1.094, allocations: 218 kB / 0.8352 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.094, allocations: 20.64 kB / 0.8353 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/1.094, allocations: 9.344 kB / 0.8353 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/1.094, allocations: 36.02 kB / 0.8353 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/1.094, allocations: 17.25 kB / 0.8353 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006081/1.095, allocations: 0.5221 MB / 0.8358 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.42e-07/1.095, allocations: 0 / 0.8358 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008631/1.096, allocations: 304.7 kB / 0.8361 GB, free: 4.434 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.000486/1.096, allocations: 208.8 kB / 0.8363 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009318/1.097, allocations: 0.6163 MB / 0.8369 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.097, allocations: 0 / 0.8369 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/1.097, allocations: 270.9 kB / 0.8372 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.099, allocations: 439.9 kB / 0.8376 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.102, allocations: 1.925 MB / 0.8395 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/1.103, allocations: 1.122 MB / 0.8406 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007729/1.104, allocations: 267 kB / 0.8408 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/1.104, allocations: 67.42 kB / 0.8409 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/1.104, allocations: 0 / 0.8409 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of Templates: time 0.02559/1.129, allocations: 15.43 MB / 0.856 GB, free: 1.59 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)