Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001054/0.001054, allocations: 179 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008195/0.0008192, allocations: 80.66 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 11.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8162/1.06, allocations: 177.5 MB / 1.153 GB, free: 8.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01842/1.079, allocations: 13.26 MB / 1.166 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/1.08, allocations: 31.81 kB / 1.166 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/1.082, allocations: 350.2 kB / 1.166 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005174/1.087, allocations: 1.369 MB / 1.168 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/1.09, allocations: 0.6615 MB / 1.168 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005016/1.095, allocations: 3.044 MB / 1.171 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.097, allocations: 0.8136 MB / 1.172 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/1.101, allocations: 1.197 MB / 1.173 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/1.103, allocations: 0.885 MB / 1.174 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.103, allocations: 46.47 kB / 1.174 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/1.105, allocations: 0.5709 MB / 1.175 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007595/1.106, allocations: 447.7 kB / 1.175 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/1.107, allocations: 250.7 kB / 1.175 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/1.11, allocations: 1.359 MB / 1.177 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.11, allocations: 4 kB / 1.177 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1.11, allocations: 0 / 1.177 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.607e-05/1.11, allocations: 1.25 kB / 1.177 GB, free: 7.359 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.003769/1.114, allocations: 1.24 MB / 1.178 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/1.114, allocations: 8.406 kB / 1.178 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/1.114, allocations: 143.1 kB / 1.178 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/1.116, allocations: 247.3 kB / 1.178 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/1.119, allocations: 0.8262 MB / 1.179 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/1.119, allocations: 72.34 kB / 1.179 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/1.119, allocations: 97.61 kB / 1.179 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.122, allocations: 1.163 MB / 1.18 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/1.122, allocations: 2.844 kB / 1.18 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.122, allocations: 40.03 kB / 1.18 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/1.122, allocations: 32.84 kB / 1.18 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/1.124, allocations: 0.9021 MB / 1.181 GB, free: 4.234 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.009231/1.134, allocations: 5.74 MB / 1.187 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.135, allocations: 0.56 MB / 1.188 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/1.136, allocations: 326.8 kB / 1.188 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/1.137, allocations: 327.9 kB / 1.188 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.137, allocations: 41.84 kB / 1.188 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 5.32e-06/1.137, allocations: 0 / 1.188 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.002498/1.139, allocations: 0.8245 MB / 1.189 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.139, allocations: 82.17 kB / 1.189 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.141, allocations: 0.7377 MB / 1.19 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.141, allocations: 36.73 kB / 1.19 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.141, allocations: 0.5057 MB / 1.19 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/1.142, allocations: 189.9 kB / 1.191 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/1.142, allocations: 15.31 kB / 1.191 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.142, allocations: 333.5 kB / 1.191 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/1.143, allocations: 251.1 kB / 1.191 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.144, allocations: 0.5767 MB / 1.192 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/1.145, allocations: 359.1 kB / 1.192 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.145, allocations: 2.469 kB / 1.192 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002212/1.147, allocations: 0.8649 MB / 1.193 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.147, allocations: 7.469 kB / 1.193 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.147, allocations: 7.562 kB / 1.193 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.365e-05/1.147, allocations: 13.78 kB / 1.193 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/1.148, allocations: 159.9 kB / 1.193 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/1.148, allocations: 17.75 kB / 1.193 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.15, allocations: 141.5 kB / 1.193 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/1.15, allocations: 38.62 kB / 1.193 GB, free: 10.82 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.0008713/1.151, allocations: 330.3 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/1.151, allocations: 91.92 kB / 1.194 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/1.152, allocations: 0.6305 MB / 1.194 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.152, allocations: 5.188 kB / 1.194 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.152, allocations: 4 kB / 1.194 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/1.154, allocations: 0.5258 MB / 1.195 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/1.158, allocations: 1.768 MB / 1.196 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.158, allocations: 3.938 kB / 1.196 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/1.159, allocations: 122.4 kB / 1.197 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/1.159, allocations: 5.094 kB / 1.197 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/1.159, allocations: 13.75 kB / 1.197 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.159, allocations: 5.094 kB / 1.197 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.159, allocations: 2.938 kB / 1.197 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.161, allocations: 1.076 MB / 1.198 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/1.162, allocations: 235.8 kB / 1.198 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/1.162, allocations: 19.89 kB / 1.198 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/1.163, allocations: 53.95 kB / 1.198 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/1.163, allocations: 43.03 kB / 1.198 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/1.163, allocations: 21.73 kB / 1.198 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001105/1.164, allocations: 0.5085 MB / 1.199 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/1.164, allocations: 2.906 kB / 1.199 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001728/1.166, allocations: 294.1 kB / 1.199 GB, free: 7.316 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.003207/1.169, allocations: 1.724 MB / 1.2 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.171, allocations: 0.6206 MB / 1.201 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.171, allocations: 0 / 1.201 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/1.171, allocations: 276.4 kB / 1.201 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.174, allocations: 453 kB / 1.202 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.183, allocations: 5.679 MB / 1.207 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/1.184, allocations: 1.118 MB / 1.208 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00118/1.185, allocations: 279.2 kB / 1.209 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.186, allocations: 359.3 kB / 1.209 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/1.186, allocations: 0 / 1.209 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/1.234, allocations: 23.34 MB / 1.232 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.234, allocations: 228.4 kB / 1.232 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/4.225, allocations: 0 / 1.232 GB, free: 7.176 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)