Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001095/0.001095, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.358/1.358, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008225/0.0008226, allocations: 91.17 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.561e-05, allocations: 8 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.692, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.217/5.909, allocations: 2.083 GB / 3.047 GB, free: 31.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/5.91, allocations: 89.31 kB / 3.047 GB, free: 31.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.433/8.343, allocations: 475.6 MB / 3.512 GB, free: 233.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.986e-06/8.343, allocations: 0 / 3.512 GB, free: 233.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001169/8.343, allocations: 19.64 kB / 3.512 GB, free: 233.3 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002922/8.346, allocations: 0.9876 MB / 3.513 GB, free: 232.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/8.346, allocations: 9 kB / 3.513 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/8.348, allocations: 203 kB / 3.513 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/8.35, allocations: 0.903 MB / 3.514 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/8.35, allocations: 20.47 kB / 3.514 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/8.35, allocations: 34.27 kB / 3.514 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/8.351, allocations: 432.7 kB / 3.514 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/8.352, allocations: 0.5088 MB / 3.515 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/8.352, allocations: 1.656 kB / 3.515 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/8.352, allocations: 3.953 kB / 3.515 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/8.352, allocations: 22.97 kB / 3.515 GB, free: 232.5 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.003155/8.356, allocations: 2.274 MB / 3.517 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/8.356, allocations: 313.4 kB / 3.517 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/8.357, allocations: 198.6 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/8.357, allocations: 301.8 kB / 3.518 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/8.357, allocations: 40 kB / 3.518 GB, free: 230.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.637e-06/8.357, allocations: 4.938 kB / 3.518 GB, free: 230.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001189/8.358, allocations: 415.8 kB / 3.518 GB, free: 230.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/8.358, allocations: 62.66 kB / 3.518 GB, free: 230.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/8.359, allocations: 352 kB / 3.519 GB, free: 230.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/8.359, allocations: 25.7 kB / 3.519 GB, free: 230.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/8.359, allocations: 321.8 kB / 3.519 GB, free: 230.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/8.359, allocations: 128 kB / 3.519 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/8.359, allocations: 0 / 3.519 GB, free: 230.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/8.36, allocations: 357.8 kB / 3.519 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/8.36, allocations: 131.6 kB / 3.52 GB, free: 230.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/8.36, allocations: 269.6 kB / 3.52 GB, free: 230 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/8.361, allocations: 205.2 kB / 3.52 GB, free: 229.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/8.361, allocations: 3.656 kB / 3.52 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009101/8.361, allocations: 461.6 kB / 3.52 GB, free: 229.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/8.362, allocations: 0.8768 MB / 3.521 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/8.362, allocations: 1.312 kB / 3.521 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/8.362, allocations: 5.438 kB / 3.521 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/8.362, allocations: 102.3 kB / 3.521 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003566/8.363, allocations: 0.598 MB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/8.364, allocations: 61.97 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/8.364, allocations: 17.97 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/8.364, allocations: 5.062 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007105/8.364, allocations: 373.5 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/8.364, allocations: 5.781 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/8.364, allocations: 4.188 kB / 3.522 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/8.365, allocations: 89.53 kB / 3.523 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/8.365, allocations: 9.703 kB / 3.523 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/8.365, allocations: 51 kB / 3.523 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/8.365, allocations: 20.91 kB / 3.523 GB, free: 228.4 MB / 0.948 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.000158/8.365, allocations: 121 kB / 3.523 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006995/8.366, allocations: 383.9 kB / 3.523 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/8.366, allocations: 52.88 kB / 3.523 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/8.367, allocations: 417.4 kB / 3.524 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/8.367, allocations: 3.938 kB / 3.524 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/8.367, allocations: 0 / 3.524 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006927/8.368, allocations: 0.6399 MB / 3.524 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/8.37, allocations: 1.114 MB / 3.525 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/8.37, allocations: 2.625 kB / 3.525 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/8.371, allocations: 91.41 kB / 3.525 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/8.371, allocations: 3.969 kB / 3.525 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/8.371, allocations: 15.22 kB / 3.525 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004198/8.371, allocations: 0.5906 MB / 3.526 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/8.371, allocations: 2.625 kB / 3.526 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/8.373, allocations: 0.7926 MB / 3.527 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/8.373, allocations: 169.8 kB / 3.527 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/8.373, allocations: 4.156 kB / 3.527 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/8.374, allocations: 38.3 kB / 3.527 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/8.374, allocations: 29.69 kB / 3.527 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/8.374, allocations: 15.47 kB / 3.527 GB, free: 226.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005107/8.374, allocations: 283.8 kB / 3.527 GB, free: 226.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.154e-06/8.374, allocations: 0 / 3.527 GB, free: 226.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002209/8.376, allocations: 427.8 kB / 3.528 GB, free: 226.2 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],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.00616/8.383, allocations: 3.258 MB / 3.531 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001924/8.385, allocations: 0.5511 MB / 3.531 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/8.385, allocations: 1.281 kB / 3.531 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/8.385, allocations: 171 kB / 3.532 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/8.387, allocations: 314 kB / 3.532 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/8.392, allocations: 1.202 MB / 3.533 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/8.392, allocations: 0.9562 MB / 3.534 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00101/8.393, allocations: 228.2 kB / 3.534 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/8.394, allocations: 214.6 kB / 3.534 GB, free: 223.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/8.394, allocations: 0 / 3.534 GB, free: 223.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06691/8.461, allocations: 25.95 MB / 3.56 GB, free: 222.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/8.461, allocations: 175.6 kB / 3.56 GB, free: 222.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/11.53, allocations: 0 / 3.56 GB, free: 222.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)