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.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001179/0.001179, allocations: 181 kB / 371.8 MB, free: 10.28 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.774/1.774, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009514/0.0009516, allocations: 97.09 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 12.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.007/6.264, allocations: 2.128 GB / 3.107 GB, free: 139.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/6.264, allocations: 99.81 kB / 3.107 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.84/9.104, allocations: 0.6566 GB / 3.764 GB, free: 200.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.657e-06/9.104, allocations: 0 / 3.764 GB, free: 200.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.788e-05/9.104, allocations: 29.38 kB / 3.764 GB, free: 200.4 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.003412/9.108, allocations: 1.465 MB / 3.766 GB, free: 199.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/9.108, allocations: 7.719 kB / 3.766 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/9.108, allocations: 149.5 kB / 3.766 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/9.109, allocations: 249 kB / 3.766 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/9.112, allocations: 1.107 MB / 3.767 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/9.112, allocations: 71.56 kB / 3.767 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/9.112, allocations: 101.8 kB / 3.767 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/9.114, allocations: 1.12 MB / 3.768 GB, free: 197.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/9.114, allocations: 3.781 kB / 3.768 GB, free: 197.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/9.114, allocations: 38.66 kB / 3.768 GB, free: 197.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/9.114, allocations: 30.56 kB / 3.768 GB, free: 197.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/9.115, allocations: 0.849 MB / 3.769 GB, free: 197.5 MB / 0.948 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.005612/9.121, allocations: 5.69 MB / 3.775 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/9.122, allocations: 0.5425 MB / 3.775 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/9.122, allocations: 302.6 kB / 3.776 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/9.122, allocations: 46.52 kB / 3.776 GB, free: 191.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.997e-06/9.122, allocations: 0 / 3.776 GB, free: 191.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001491/9.124, allocations: 0.7772 MB / 3.776 GB, free: 191.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/9.124, allocations: 58.25 kB / 3.776 GB, free: 191.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/9.125, allocations: 0.6515 MB / 3.777 GB, free: 190.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/9.125, allocations: 41.36 kB / 3.777 GB, free: 190.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/9.125, allocations: 0.5031 MB / 3.778 GB, free: 190.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/9.125, allocations: 175.4 kB / 3.778 GB, free: 190.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/9.125, allocations: 15.22 kB / 3.778 GB, free: 190.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/9.125, allocations: 333.7 kB / 3.778 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/9.126, allocations: 241.2 kB / 3.778 GB, free: 189.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/9.126, allocations: 0.5761 MB / 3.779 GB, free: 189.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/9.127, allocations: 354.9 kB / 3.779 GB, free: 189.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/9.127, allocations: 2.969 kB / 3.779 GB, free: 189.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001113/9.128, allocations: 0.832 MB / 3.78 GB, free: 188.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/9.128, allocations: 11.77 kB / 3.78 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/9.128, allocations: 6.844 kB / 3.78 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/9.128, allocations: 17.19 kB / 3.78 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/9.128, allocations: 155.1 kB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/9.128, allocations: 18.64 kB / 3.78 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/9.129, allocations: 143.9 kB / 3.78 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/9.13, allocations: 38.56 kB / 3.78 GB, free: 188.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005869/9.13, allocations: 333.8 kB / 3.781 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/9.13, allocations: 84.56 kB / 3.781 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/9.131, allocations: 0.6062 MB / 3.781 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/9.131, allocations: 5.938 kB / 3.781 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/9.131, allocations: 0 / 3.781 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006382/9.132, allocations: 0.5089 MB / 3.782 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/9.135, allocations: 1.648 MB / 3.783 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/9.135, allocations: 3.953 kB / 3.783 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/9.135, allocations: 113.5 kB / 3.784 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/9.135, allocations: 3.594 kB / 3.784 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/9.135, allocations: 22.42 kB / 3.784 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/9.135, allocations: 3.969 kB / 3.784 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/9.135, allocations: 3.938 kB / 3.784 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/9.137, allocations: 1.112 MB / 3.785 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/9.137, allocations: 227.9 kB / 3.785 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/9.137, allocations: 14.56 kB / 3.785 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/9.138, allocations: 69.75 kB / 3.785 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/9.138, allocations: 35.55 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/9.138, allocations: 18.91 kB / 3.785 GB, free: 185.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006226/9.139, allocations: 0.4975 MB / 3.786 GB, free: 185.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.139, allocations: 3.781 kB / 3.786 GB, free: 185.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00192/9.14, allocations: 487.5 kB / 3.786 GB, free: 185 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 () * 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 (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.004923/9.145, allocations: 3.947 MB / 3.79 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001112/9.147, allocations: 0.5892 MB / 3.79 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/9.147, allocations: 0 / 3.79 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/9.147, allocations: 273.9 kB / 3.791 GB, free: 182.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/9.149, allocations: 432.2 kB / 3.791 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/9.159, allocations: 10.84 MB / 3.802 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/9.16, allocations: 1.141 MB / 3.803 GB, free: 170.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001156/9.161, allocations: 269.8 kB / 3.803 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/9.162, allocations: 359.3 kB / 3.803 GB, free: 169.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.555e-06/9.162, allocations: 3.938 kB / 3.803 GB, free: 169.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09038/9.252, allocations: 51.35 MB / 3.854 GB, free: 118.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/9.252, allocations: 231.4 kB / 3.854 GB, free: 118.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/13.24, allocations: 4 kB / 3.854 GB, free: 118.6 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)