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.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.00121/0.00121, allocations: 181 kB / 371.8 MB, free: 10.25 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.857/1.857, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.001129/0.001128, allocations: 95.67 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005471, allocations: 13.12 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2679, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8285/1.097, allocations: 161.8 MB / 1.137 GB, free: 124 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01729/1.114, allocations: 12.14 MB / 1.149 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/1.116, allocations: 26.22 kB / 1.149 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/1.118, allocations: 497.7 kB / 1.15 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005883/1.124, allocations: 1.544 MB / 1.151 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/1.127, allocations: 0.9393 MB / 1.152 GB, free: 7.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003386/1.13, allocations: 1.473 MB / 1.154 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/1.132, allocations: 0.8263 MB / 1.154 GB, free: 6.371 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/1.135, allocations: 1.113 MB / 1.156 GB, free: 5.656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/1.137, allocations: 0.6156 MB / 1.156 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/1.138, allocations: 47.34 kB / 1.156 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/1.14, allocations: 0.5411 MB / 1.157 GB, free: 5.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008431/1.141, allocations: 412.8 kB / 1.157 GB, free: 4.848 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006639/1.141, allocations: 248.6 kB / 1.157 GB, free: 4.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/1.144, allocations: 1.31 MB / 1.159 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/1.144, allocations: 0 / 1.159 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/1.144, allocations: 0 / 1.159 GB, free: 3.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.698e-05/1.144, allocations: 0 / 1.159 GB, free: 3.855 MB / 0.698 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.003408/1.147, allocations: 1.232 MB / 1.16 GB, free: 2.895 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.147, allocations: 8.875 kB / 1.16 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/1.147, allocations: 143.1 kB / 1.16 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/1.149, allocations: 257.5 kB / 1.16 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.15, allocations: 0.7487 MB / 1.161 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/1.151, allocations: 73.77 kB / 1.161 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.151, allocations: 103.9 kB / 1.161 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.153, allocations: 1.156 MB / 1.162 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.153, allocations: 1.406 kB / 1.162 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/1.153, allocations: 37.41 kB / 1.162 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/1.153, allocations: 32.81 kB / 1.162 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.154, allocations: 0.9051 MB / 1.163 GB, free: 0.7695 MB / 0.698 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.006543/1.161, allocations: 5.732 MB / 1.169 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/1.162, allocations: 0.5713 MB / 1.169 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/1.162, allocations: 149 kB / 1.17 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.162, allocations: 49.02 kB / 1.17 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.276e-06/1.162, allocations: 0.625 kB / 1.17 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001927/1.164, allocations: 0.8149 MB / 1.17 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.164, allocations: 83.98 kB / 1.17 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.165, allocations: 0.7455 MB / 1.171 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/1.165, allocations: 42.55 kB / 1.171 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/1.166, allocations: 0.5015 MB / 1.172 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/1.166, allocations: 188.5 kB / 1.172 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/1.166, allocations: 14.47 kB / 1.172 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.166, allocations: 336 kB / 1.172 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/1.167, allocations: 252.8 kB / 1.172 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008417/1.168, allocations: 0.5741 MB / 1.173 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/1.168, allocations: 355.2 kB / 1.173 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.168, allocations: 6.844 kB / 1.173 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001493/1.17, allocations: 0.8547 MB / 1.174 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.17, allocations: 14.27 kB / 1.174 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.17, allocations: 7.406 kB / 1.174 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/1.17, allocations: 13.12 kB / 1.174 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/1.17, allocations: 157.5 kB / 1.174 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/1.17, allocations: 16.3 kB / 1.174 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.172, allocations: 136.7 kB / 1.175 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/1.172, allocations: 40.64 kB / 1.175 GB, free: 7.715 MB / 0.7136 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.0007318/1.172, allocations: 326.8 kB / 1.175 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/1.173, allocations: 90.81 kB / 1.175 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/1.174, allocations: 0.635 MB / 1.176 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.174, allocations: 9.406 kB / 1.176 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.174, allocations: 0 / 1.176 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007312/1.175, allocations: 0.5268 MB / 1.176 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/1.178, allocations: 1.77 MB / 1.178 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.178, allocations: 2.469 kB / 1.178 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/1.178, allocations: 118.5 kB / 1.178 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/1.178, allocations: 5.344 kB / 1.178 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/1.178, allocations: 8.906 kB / 1.178 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.178, allocations: 9.766 kB / 1.178 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.178, allocations: 2.5 kB / 1.178 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.18, allocations: 1.173 MB / 1.179 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/1.181, allocations: 231.2 kB / 1.179 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.181, allocations: 13.16 kB / 1.179 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/1.182, allocations: 70.06 kB / 1.179 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/1.182, allocations: 38.53 kB / 1.179 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/1.182, allocations: 19.91 kB / 1.179 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007071/1.182, allocations: 0.5059 MB / 1.18 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 0 / 1.18 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001163/1.184, allocations: 302.1 kB / 1.18 GB, free: 4.062 MB / 0.7136 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.002456/1.186, allocations: 2.38 MB / 1.183 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001159/1.187, allocations: 0.6092 MB / 1.183 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.187, allocations: 0.625 kB / 1.183 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/1.188, allocations: 286 kB / 1.183 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.19, allocations: 434.5 kB / 1.184 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.203, allocations: 10.74 MB / 1.194 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.204, allocations: 1.142 MB / 1.195 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001258/1.205, allocations: 282 kB / 1.196 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/1.206, allocations: 364.9 kB / 1.196 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of SimCode: time 1.342e-06/1.206, allocations: 0 / 1.196 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/1.256, allocations: 23.3 MB / 1.219 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.256, allocations: 227.2 kB / 1.219 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.095, allocations: 0 / 1.219 GB, free: 1.805 MB / 0.7448 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)