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.574/1.574, allocations: 285.4 MB / 298 MB, free: 5.988 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.001223/0.001223, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.568/1.568, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008201/0.0008201, allocations: 97.39 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.536e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6419, allocations: 115.3 MB / 0.971 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.342/5.984, allocations: 2.128 GB / 3.099 GB, free: 283.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/5.984, allocations: 90.47 kB / 3.099 GB, free: 283.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.037/8.021, allocations: 0.6559 GB / 3.755 GB, free: 32.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.724e-06/8.021, allocations: 0 / 3.755 GB, free: 32.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.21e-05/8.021, allocations: 27.94 kB / 3.755 GB, free: 32.25 MB / 0.948 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.002593/8.024, allocations: 1.325 MB / 3.756 GB, free: 30.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/8.024, allocations: 8.031 kB / 3.756 GB, free: 30.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/8.024, allocations: 139.6 kB / 3.756 GB, free: 30.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/8.025, allocations: 254.3 kB / 3.757 GB, free: 30.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/8.028, allocations: 1.101 MB / 3.758 GB, free: 29.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/8.028, allocations: 73.98 kB / 3.758 GB, free: 29.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/8.028, allocations: 104 kB / 3.758 GB, free: 29.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/8.029, allocations: 1.103 MB / 3.759 GB, free: 27.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/8.029, allocations: 7.938 kB / 3.759 GB, free: 27.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/8.029, allocations: 36 kB / 3.759 GB, free: 27.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/8.03, allocations: 37.95 kB / 3.759 GB, free: 27.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/8.031, allocations: 0.8237 MB / 3.76 GB, free: 27.07 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004422/8.035, allocations: 5.692 MB / 3.765 GB, free: 20.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/8.036, allocations: 0.5366 MB / 3.766 GB, free: 20.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/8.036, allocations: 302.6 kB / 3.766 GB, free: 20.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/8.037, allocations: 307.8 kB / 3.766 GB, free: 19.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/8.037, allocations: 39 kB / 3.766 GB, free: 19.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/8.037, allocations: 0 / 3.766 GB, free: 19.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001044/8.038, allocations: 0.5809 MB / 3.767 GB, free: 19.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/8.038, allocations: 67.67 kB / 3.767 GB, free: 19.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/8.038, allocations: 0.6409 MB / 3.768 GB, free: 18.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/8.039, allocations: 37.7 kB / 3.768 GB, free: 18.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/8.039, allocations: 0.5026 MB / 3.768 GB, free: 17.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/8.039, allocations: 177.4 kB / 3.768 GB, free: 17.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/8.039, allocations: 16 kB / 3.768 GB, free: 17.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/8.039, allocations: 333.9 kB / 3.769 GB, free: 17.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/8.039, allocations: 237.5 kB / 3.769 GB, free: 17.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/8.04, allocations: 0.5672 MB / 3.769 GB, free: 16.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/8.041, allocations: 347.2 kB / 3.77 GB, free: 16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/8.041, allocations: 4 kB / 3.77 GB, free: 16 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001094/8.042, allocations: 0.8233 MB / 3.771 GB, free: 15.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/8.042, allocations: 8 kB / 3.771 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/8.042, allocations: 8 kB / 3.771 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/8.042, allocations: 16.03 kB / 3.771 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/8.042, allocations: 155.7 kB / 3.771 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/8.042, allocations: 15.94 kB / 3.771 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/8.043, allocations: 139.2 kB / 3.771 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/8.044, allocations: 39.98 kB / 3.771 GB, free: 14.79 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/8.044, allocations: 152.7 kB / 3.771 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/8.044, allocations: 82.97 kB / 3.771 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/8.045, allocations: 0.6019 MB / 3.772 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/8.045, allocations: 4 kB / 3.772 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/8.045, allocations: 4 kB / 3.772 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006146/8.046, allocations: 0.5016 MB / 3.772 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/8.048, allocations: 1.637 MB / 3.774 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/8.048, allocations: 0 / 3.774 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/8.049, allocations: 115.9 kB / 3.774 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/8.049, allocations: 7.953 kB / 3.774 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/8.049, allocations: 19.94 kB / 3.774 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/8.049, allocations: 11.92 kB / 3.774 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/8.049, allocations: 0 / 3.774 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/8.05, allocations: 1.109 MB / 3.775 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/8.05, allocations: 227.9 kB / 3.775 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/8.051, allocations: 12 kB / 3.775 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/8.051, allocations: 67.94 kB / 3.775 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/8.051, allocations: 31.95 kB / 3.775 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/8.051, allocations: 16 kB / 3.775 GB, free: 9.988 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006412/8.052, allocations: 0.4952 MB / 3.776 GB, free: 9.496 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.052, allocations: 4 kB / 3.776 GB, free: 9.492 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001906/8.054, allocations: 483.2 kB / 3.776 GB, free: 9.02 MB / 0.948 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 () * 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 (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.004031/8.058, allocations: 3.936 MB / 3.78 GB, free: 4.949 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008928/8.059, allocations: 0.585 MB / 3.781 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/8.059, allocations: 4 kB / 3.781 GB, free: 4.367 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/8.059, allocations: 263.5 kB / 3.781 GB, free: 4.109 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/8.061, allocations: 425.2 kB / 3.782 GB, free: 3.695 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/8.064, allocations: 1.786 MB / 3.783 GB, free: 1.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/8.065, allocations: 1.149 MB / 3.784 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008358/8.066, allocations: 271.1 kB / 3.785 GB, free: 412 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/8.066, allocations: 359.3 kB / 3.785 GB, free: 52 kB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/8.066, allocations: 0 / 3.785 GB, free: 52 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8145/8.881, allocations: 56.22 MB / 3.84 GB, free: 172.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/8.881, allocations: 196.3 kB / 3.84 GB, free: 172.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/12.77, allocations: 1.281 kB / 3.84 GB, free: 172.4 MB / 0.948 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)