Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.3 MB / 261.9 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 186.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.000885, allocations: 94.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.114e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.224, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.469/5.693, allocations: 2.246 GB / 3.138 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/5.693, allocations: 90.81 kB / 3.138 GB, free: 84.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.398/8.091, allocations: 0.6373 GB / 3.775 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.176e-06/8.091, allocations: 0 / 3.775 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.33e-05/8.091, allocations: 29.08 kB / 3.775 GB, free: 104.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002652/8.094, allocations: 1.322 MB / 3.777 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/8.094, allocations: 15.97 kB / 3.777 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/8.094, allocations: 151.6 kB / 3.777 GB, free: 103 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/8.096, allocations: 250.3 kB / 3.777 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/8.098, allocations: 1.101 MB / 3.778 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/8.098, allocations: 70 kB / 3.778 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/8.098, allocations: 96 kB / 3.778 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/8.1, allocations: 1.119 MB / 3.779 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/8.1, allocations: 3.938 kB / 3.779 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/8.1, allocations: 40 kB / 3.779 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/8.1, allocations: 30 kB / 3.779 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/8.101, allocations: 0.8315 MB / 3.78 GB, free: 99.34 MB / 0.8698 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.004925/8.106, allocations: 5.69 MB / 3.786 GB, free: 93.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/8.107, allocations: 0.5277 MB / 3.786 GB, free: 92.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/8.107, allocations: 302.6 kB / 3.787 GB, free: 92.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/8.108, allocations: 315.7 kB / 3.787 GB, free: 92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/8.108, allocations: 35 kB / 3.787 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/8.108, allocations: 4 kB / 3.787 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001099/8.109, allocations: 0.5732 MB / 3.787 GB, free: 91.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/8.109, allocations: 59.84 kB / 3.788 GB, free: 91.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/8.11, allocations: 0.6291 MB / 3.788 GB, free: 90.66 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/8.11, allocations: 37.7 kB / 3.788 GB, free: 90.62 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/8.11, allocations: 0.4987 MB / 3.789 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/8.11, allocations: 177.5 kB / 3.789 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/8.11, allocations: 20 kB / 3.789 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/8.11, allocations: 390.7 kB / 3.789 GB, free: 89.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/8.111, allocations: 229.5 kB / 3.789 GB, free: 89.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/8.111, allocations: 0.549 MB / 3.79 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/8.111, allocations: 339.4 kB / 3.79 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/8.111, allocations: 11.95 kB / 3.79 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001013/8.112, allocations: 0.8112 MB / 3.791 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/8.112, allocations: 8 kB / 3.791 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.113, allocations: 8 kB / 3.791 GB, free: 87.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/8.113, allocations: 12 kB / 3.791 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/8.113, allocations: 152.4 kB / 3.791 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/8.113, allocations: 19.92 kB / 3.791 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/8.114, allocations: 139.1 kB / 3.791 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/8.114, allocations: 43.92 kB / 3.791 GB, free: 87.08 MB / 0.8698 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.0001367/8.114, allocations: 154.3 kB / 3.792 GB, free: 86.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/8.114, allocations: 86.92 kB / 3.792 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008608/8.115, allocations: 0.5903 MB / 3.792 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/8.115, allocations: 11.94 kB / 3.792 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/8.115, allocations: 0 / 3.792 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005596/8.116, allocations: 0.4977 MB / 3.793 GB, free: 85.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/8.118, allocations: 1.647 MB / 3.794 GB, free: 83.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/8.118, allocations: 0 / 3.794 GB, free: 83.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/8.119, allocations: 115.8 kB / 3.794 GB, free: 83.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/8.119, allocations: 8.031 kB / 3.794 GB, free: 83.87 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/8.119, allocations: 12 kB / 3.794 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/8.119, allocations: 4.219 kB / 3.794 GB, free: 83.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/8.119, allocations: 4 kB / 3.795 GB, free: 83.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/8.12, allocations: 1.097 MB / 3.796 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/8.12, allocations: 228 kB / 3.796 GB, free: 82.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/8.12, allocations: 16 kB / 3.796 GB, free: 82.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/8.121, allocations: 71.78 kB / 3.796 GB, free: 82.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/8.121, allocations: 39.69 kB / 3.796 GB, free: 82.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/8.121, allocations: 19.94 kB / 3.796 GB, free: 82.28 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000604/8.122, allocations: 0.4913 MB / 3.796 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.122, allocations: 4 kB / 3.796 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001733/8.123, allocations: 487.3 kB / 3.797 GB, free: 81.31 MB / 0.8698 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.004114/8.128, allocations: 3.919 MB / 3.801 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009563/8.129, allocations: 0.5832 MB / 3.801 GB, free: 76.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/8.129, allocations: 1.812 kB / 3.801 GB, free: 76.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/8.129, allocations: 264.1 kB / 3.802 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/8.131, allocations: 426.5 kB / 3.802 GB, free: 75.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/8.134, allocations: 1.783 MB / 3.804 GB, free: 74.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/8.135, allocations: 1.138 MB / 3.805 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008481/8.135, allocations: 267 kB / 3.805 GB, free: 72.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/8.136, allocations: 355.3 kB / 3.805 GB, free: 72.37 MB / 0.8698 GB Notification: Performance of SimCode: time 9.21e-07/8.136, allocations: 4 kB / 3.805 GB, free: 72.37 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08788/8.224, allocations: 56 MB / 3.86 GB, free: 16.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/8.224, allocations: 197.7 kB / 3.86 GB, free: 16.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.851/12.08, allocations: 7.172 kB / 3.86 GB, free: 16.32 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)