Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.478/1.478, allocations: 287.4 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 187.1 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000727/0.000727, allocations: 96.17 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 12.78 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5078/0.704, allocations: 177.5 MB / 1.152 GB, free: 9.137 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7195, allocations: 13.26 MB / 1.165 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.7209, allocations: 27.62 kB / 1.165 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.7223, allocations: 348.8 kB / 1.165 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.7262, allocations: 1.374 MB / 1.167 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.7285, allocations: 0.6576 MB / 1.167 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.7319, allocations: 3.06 MB / 1.17 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.733, allocations: 0.8964 MB / 1.171 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.7353, allocations: 1.204 MB / 1.172 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.7364, allocations: 0.8836 MB / 1.173 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.7366, allocations: 51.14 kB / 1.173 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.7381, allocations: 0.559 MB / 1.174 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004208/0.7385, allocations: 459.3 kB / 1.174 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.7388, allocations: 247.6 kB / 1.175 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.7401, allocations: 1.347 MB / 1.176 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7401, allocations: 1.5 kB / 1.176 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.417e-06/0.7401, allocations: 0 / 1.176 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7402, allocations: 7.938 kB / 1.176 GB, free: 8.203 MB / 0.7136 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.001904/0.7421, allocations: 1.224 MB / 1.177 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7421, allocations: 15.72 kB / 1.177 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.7423, allocations: 144.3 kB / 1.177 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7434, allocations: 259.6 kB / 1.178 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7448, allocations: 0.8343 MB / 1.178 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.7449, allocations: 72.41 kB / 1.178 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.7451, allocations: 101.9 kB / 1.178 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.7466, allocations: 1.158 MB / 1.18 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.7466, allocations: 3.938 kB / 1.18 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.7467, allocations: 46.69 kB / 1.18 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.449e-05/0.7468, allocations: 36.58 kB / 1.18 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.7479, allocations: 0.902 MB / 1.181 GB, free: 5.047 MB / 0.7136 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.004747/0.7527, allocations: 5.737 MB / 1.186 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.7536, allocations: 0.5614 MB / 1.187 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.754, allocations: 331.5 kB / 1.187 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/0.7546, allocations: 324.1 kB / 1.187 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.7547, allocations: 41.08 kB / 1.187 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/0.7547, allocations: 4 kB / 1.187 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001552/0.7562, allocations: 0.8145 MB / 1.188 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7563, allocations: 86.14 kB / 1.188 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.7571, allocations: 0.7454 MB / 1.189 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.7572, allocations: 39.17 kB / 1.189 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.7575, allocations: 0.5013 MB / 1.19 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.7576, allocations: 190.2 kB / 1.19 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.7576, allocations: 11 kB / 1.19 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.7577, allocations: 338.5 kB / 1.19 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.7581, allocations: 258.3 kB / 1.19 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.7586, allocations: 0.579 MB / 1.191 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.7594, allocations: 0.7984 MB / 1.192 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7595, allocations: 6.156 kB / 1.192 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00108/0.7605, allocations: 0.854 MB / 1.192 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7606, allocations: 8.719 kB / 1.192 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7606, allocations: 11.94 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7606, allocations: 13.75 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.7611, allocations: 155 kB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.7611, allocations: 20.17 kB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.762, allocations: 140.1 kB / 1.193 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.762, allocations: 39.92 kB / 1.193 GB, free: 11.19 MB / 0.7292 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.000359/0.7624, allocations: 338 kB / 1.193 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7625, allocations: 84.72 kB / 1.193 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008381/0.7634, allocations: 0.6317 MB / 1.194 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7634, allocations: 5.844 kB / 1.194 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7634, allocations: 0 / 1.194 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000607/0.764, allocations: 0.5195 MB / 1.194 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.7661, allocations: 1.77 MB / 1.196 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7662, allocations: 5.719 kB / 1.196 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.7666, allocations: 114.8 kB / 1.196 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7666, allocations: 3.25 kB / 1.196 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.7667, allocations: 19.61 kB / 1.196 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7667, allocations: 10 kB / 1.196 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7667, allocations: 0 / 1.196 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.7679, allocations: 1.081 MB / 1.197 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.7682, allocations: 236.4 kB / 1.198 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.7683, allocations: 12.59 kB / 1.198 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.7688, allocations: 57.25 kB / 1.198 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.7689, allocations: 39.83 kB / 1.198 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.7689, allocations: 18 kB / 1.198 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005338/0.7694, allocations: 0.512 MB / 1.198 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7694, allocations: 0 / 1.198 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007499/0.7702, allocations: 303.9 kB / 1.198 GB, free: 7.684 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.001677/0.7719, allocations: 1.733 MB / 1.2 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.7727, allocations: 0.6172 MB / 1.201 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7727, allocations: 1.844 kB / 1.201 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.7731, allocations: 279.2 kB / 1.201 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.7751, allocations: 439.8 kB / 1.201 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.7822, allocations: 5.672 MB / 1.207 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.7829, allocations: 1.122 MB / 1.208 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008732/0.7838, allocations: 275.2 kB / 1.208 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.7842, allocations: 363.3 kB / 1.209 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.7842, allocations: 3.938 kB / 1.209 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6292/1.413, allocations: 23.35 MB / 1.231 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.414, allocations: 229.4 kB / 1.232 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.334, allocations: 0 / 1.232 GB, free: 7.578 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)