Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",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.385/1.385, allocations: 249.5 MB / 257 MB, free: 6.871 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.0009647/0.0009647, allocations: 187.4 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008534/0.0008533, allocations: 81.02 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.964e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2485, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.859/6.108, allocations: 2.202 GB / 3.087 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/6.108, allocations: 91.81 kB / 3.087 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.566/7.674, allocations: 462.7 MB / 3.539 GB, free: 46.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.452e-06/7.674, allocations: 4 kB / 3.539 GB, free: 46.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001118/7.674, allocations: 23.98 kB / 3.539 GB, free: 46.39 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002664/7.677, allocations: 0.9931 MB / 3.54 GB, free: 45.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/7.677, allocations: 12.03 kB / 3.54 GB, free: 45.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/7.679, allocations: 206.9 kB / 3.54 GB, free: 45.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/7.681, allocations: 0.8979 MB / 3.541 GB, free: 44.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/7.681, allocations: 16 kB / 3.541 GB, free: 44.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/7.681, allocations: 40 kB / 3.541 GB, free: 44.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008936/7.682, allocations: 434.5 kB / 3.542 GB, free: 43.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/7.683, allocations: 0.5131 MB / 3.542 GB, free: 43.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/7.683, allocations: 0 / 3.542 GB, free: 43.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/7.683, allocations: 7.891 kB / 3.542 GB, free: 43.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/7.683, allocations: 29.3 kB / 3.542 GB, free: 43.15 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.003083/7.687, allocations: 2.285 MB / 3.544 GB, free: 40.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/7.687, allocations: 296.5 kB / 3.545 GB, free: 40.37 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/7.687, allocations: 188.8 kB / 3.545 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/7.688, allocations: 311.2 kB / 3.545 GB, free: 39.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/7.688, allocations: 46.45 kB / 3.545 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/7.688, allocations: 0 / 3.545 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001032/7.689, allocations: 413.2 kB / 3.546 GB, free: 39.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/7.689, allocations: 55.41 kB / 3.546 GB, free: 39.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/7.689, allocations: 357.3 kB / 3.546 GB, free: 38.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/7.689, allocations: 25.7 kB / 3.546 GB, free: 38.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/7.689, allocations: 320.3 kB / 3.546 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/7.69, allocations: 126.1 kB / 3.547 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/7.69, allocations: 0 / 3.547 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/7.69, allocations: 358.8 kB / 3.547 GB, free: 38.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/7.69, allocations: 128.8 kB / 3.547 GB, free: 37.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/7.69, allocations: 262.3 kB / 3.547 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/7.69, allocations: 198.7 kB / 3.547 GB, free: 37.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.69, allocations: 4 kB / 3.547 GB, free: 37.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006779/7.691, allocations: 450.9 kB / 3.548 GB, free: 37.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/7.691, allocations: 0.8847 MB / 3.549 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/7.691, allocations: 7.938 kB / 3.549 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/7.691, allocations: 4 kB / 3.549 GB, free: 36.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/7.692, allocations: 95.88 kB / 3.549 GB, free: 35.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003183/7.692, allocations: 0.6015 MB / 3.549 GB, free: 35.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/7.693, allocations: 55.73 kB / 3.549 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/7.693, allocations: 23.94 kB / 3.549 GB, free: 35.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/7.693, allocations: 8 kB / 3.549 GB, free: 35.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006076/7.694, allocations: 363.9 kB / 3.55 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/7.694, allocations: 4 kB / 3.55 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/7.694, allocations: 4 kB / 3.55 GB, free: 34.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/7.694, allocations: 87.89 kB / 3.55 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/7.694, allocations: 8 kB / 3.55 GB, free: 34.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/7.695, allocations: 48 kB / 3.55 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/7.695, allocations: 16 kB / 3.55 GB, free: 34.74 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001462/7.695, allocations: 129.9 kB / 3.55 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005987/7.695, allocations: 376.6 kB / 3.55 GB, free: 34.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/7.696, allocations: 51.44 kB / 3.551 GB, free: 34.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/7.696, allocations: 419.8 kB / 3.551 GB, free: 33.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/7.696, allocations: 8 kB / 3.551 GB, free: 33.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.696, allocations: 0 / 3.551 GB, free: 33.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004719/7.697, allocations: 0.6361 MB / 3.552 GB, free: 33.03 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/7.698, allocations: 1.111 MB / 3.553 GB, free: 31.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/7.699, allocations: 0 / 3.553 GB, free: 31.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/7.699, allocations: 100 kB / 3.553 GB, free: 31.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/7.699, allocations: 7.953 kB / 3.553 GB, free: 31.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/7.699, allocations: 8 kB / 3.553 GB, free: 31.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002146/7.699, allocations: 0.5938 MB / 3.553 GB, free: 31.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/7.699, allocations: 0 / 3.553 GB, free: 31.12 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/7.7, allocations: 0.7865 MB / 3.554 GB, free: 30.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/7.7, allocations: 176.4 kB / 3.554 GB, free: 30.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/7.7, allocations: 4 kB / 3.554 GB, free: 30.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/7.701, allocations: 39.89 kB / 3.554 GB, free: 30.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/7.701, allocations: 27.92 kB / 3.554 GB, free: 29.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/7.701, allocations: 16 kB / 3.554 GB, free: 29.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003425/7.701, allocations: 286.9 kB / 3.555 GB, free: 29.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/7.701, allocations: 0 / 3.555 GB, free: 29.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001439/7.703, allocations: 438.9 kB / 3.555 GB, free: 29.27 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],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/7.706, allocations: 3.259 MB / 3.558 GB, free: 25.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001122/7.707, allocations: 0.5411 MB / 3.559 GB, free: 25.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/7.707, allocations: 4 kB / 3.559 GB, free: 25.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/7.708, allocations: 171.8 kB / 3.559 GB, free: 25.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/7.709, allocations: 303.7 kB / 3.559 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/7.712, allocations: 1.203 MB / 3.56 GB, free: 23.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/7.712, allocations: 0.9537 MB / 3.561 GB, free: 22.63 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000877/7.713, allocations: 228.5 kB / 3.562 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/7.713, allocations: 207.4 kB / 3.562 GB, free: 22.21 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/7.713, allocations: 0 / 3.562 GB, free: 22.21 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.609/8.322, allocations: 25.95 MB / 3.587 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/8.323, allocations: 168.3 kB / 3.587 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/11.03, allocations: 3.844 kB / 3.587 GB, free: 190.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)