Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 69.59 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1872, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5183/0.7055, allocations: 195.1 MB / 0.974 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.72, allocations: 14.28 MB / 0.9879 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.7213, allocations: 35.88 kB / 0.988 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.7228, allocations: 0.4938 MB / 0.9885 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.7264, allocations: 1.891 MB / 0.9903 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.7283, allocations: 0.8526 MB / 0.9911 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.7304, allocations: 2.571 MB / 0.9936 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.7314, allocations: 1.097 MB / 0.9947 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.7344, allocations: 1.6 MB / 0.9963 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.7355, allocations: 0.9212 MB / 0.9972 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.7356, allocations: 108.5 kB / 0.9973 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.7373, allocations: 1.096 MB / 0.9983 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.7377, allocations: 0.4981 MB / 0.9988 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.7383, allocations: 0.6269 MB / 0.9994 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.7401, allocations: 1.884 MB / 1.001 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7401, allocations: 0 / 1.001 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7401, allocations: 4 kB / 1.001 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.7402, allocations: 0 / 1.001 GB, free: 5.559 MB / 0.7325 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.001837/0.742, allocations: 1.446 MB / 1.003 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.742, allocations: 9.594 kB / 1.003 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.7422, allocations: 153 kB / 1.003 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.7434, allocations: 257.1 kB / 1.003 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.7444, allocations: 0.7424 MB / 1.004 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.7445, allocations: 71.47 kB / 1.004 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7446, allocations: 99.12 kB / 1.004 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.746, allocations: 1.171 MB / 1.005 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.746, allocations: 6.125 kB / 1.005 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.7461, allocations: 41.94 kB / 1.005 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.7461, allocations: 40.83 kB / 1.005 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7473, allocations: 0.8996 MB / 1.006 GB, free: 2.344 MB / 0.7325 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.004881/0.7522, allocations: 5.763 MB / 1.012 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.7528, allocations: 0.5292 MB / 1.012 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.7532, allocations: 315.2 kB / 1.013 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/0.7537, allocations: 314.5 kB / 1.013 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.7538, allocations: 41.81 kB / 1.013 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 1.744e-06/0.7538, allocations: 0 / 1.013 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001224/0.755, allocations: 0.7985 MB / 1.014 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.7551, allocations: 56.91 kB / 1.014 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/0.7558, allocations: 0.7503 MB / 1.014 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.7559, allocations: 34.55 kB / 1.014 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.7562, allocations: 0.5052 MB / 1.015 GB, free: 11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.7563, allocations: 175.7 kB / 1.015 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.7565, allocations: 146.9 kB / 1.015 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7566, allocations: 338.1 kB / 1.016 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.7569, allocations: 251.8 kB / 1.016 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.7575, allocations: 0.5552 MB / 1.016 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.7583, allocations: 0.7927 MB / 1.017 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.7583, allocations: 2.656 kB / 1.017 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001058/0.7594, allocations: 0.8484 MB / 1.018 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7594, allocations: 7.562 kB / 1.018 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7594, allocations: 7.562 kB / 1.018 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7594, allocations: 12.22 kB / 1.018 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.7599, allocations: 156.3 kB / 1.018 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7599, allocations: 16.89 kB / 1.018 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.7606, allocations: 94.7 kB / 1.018 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.7606, allocations: 35.14 kB / 1.018 GB, free: 8.633 MB / 0.7481 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.0003262/0.7609, allocations: 330.2 kB / 1.019 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.7611, allocations: 83.58 kB / 1.019 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/0.7619, allocations: 0.6168 MB / 1.019 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7619, allocations: 4.562 kB / 1.019 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7619, allocations: 0 / 1.019 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005959/0.7625, allocations: 0.5213 MB / 1.02 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.7644, allocations: 1.67 MB / 1.021 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7644, allocations: 6.906 kB / 1.021 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.7649, allocations: 111.9 kB / 1.022 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.7649, allocations: 2.469 kB / 1.022 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.765, allocations: 15.38 kB / 1.022 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.765, allocations: 6.688 kB / 1.022 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.765, allocations: 6.375 kB / 1.022 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.7661, allocations: 1.056 MB / 1.023 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.7664, allocations: 224.1 kB / 1.023 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.7665, allocations: 14.77 kB / 1.023 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.7669, allocations: 17.41 kB / 1.023 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.7669, allocations: 32.89 kB / 1.023 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.767, allocations: 16.72 kB / 1.023 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005012/0.7675, allocations: 0.5079 MB / 1.023 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7675, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006449/0.7681, allocations: 306.5 kB / 1.024 GB, free: 5.293 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.001606/0.7697, allocations: 1.694 MB / 1.025 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009046/0.7707, allocations: 0.7186 MB / 1.026 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.7707, allocations: 0 / 1.026 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.771, allocations: 268.8 kB / 1.026 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.7727, allocations: 451.5 kB / 1.027 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.7803, allocations: 7.466 MB / 1.034 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.7809, allocations: 1.118 MB / 1.035 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007181/0.7816, allocations: 271 kB / 1.035 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.782, allocations: 363.2 kB / 1.036 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/0.782, allocations: 0 / 1.036 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.082/4.864, allocations: 22.86 MB / 1.058 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/15.39, allocations: 7.25 kB / 1.058 GB, free: 4.902 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)