Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001411/0.001411, allocations: 168.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001092/0.001092, allocations: 87.58 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.672e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8024, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.061/6.863, allocations: 2.083 GB / 3.046 GB, free: 35.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/6.863, allocations: 88.11 kB / 3.046 GB, free: 35.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.884/9.748, allocations: 475.6 MB / 3.511 GB, free: 231.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/9.748, allocations: 0 / 3.511 GB, free: 231.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.259e-05/9.748, allocations: 23.75 kB / 3.511 GB, free: 231.8 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.002714/9.751, allocations: 0.9905 MB / 3.512 GB, free: 231.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/9.751, allocations: 10.12 kB / 3.512 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/9.753, allocations: 202.2 kB / 3.512 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/9.756, allocations: 0.9009 MB / 3.513 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/9.756, allocations: 15.69 kB / 3.513 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/9.756, allocations: 34.22 kB / 3.513 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/9.757, allocations: 434.6 kB / 3.513 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/9.759, allocations: 0.5116 MB / 3.514 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/9.759, allocations: 4.516 kB / 3.514 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/9.759, allocations: 1.125 kB / 3.514 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/9.759, allocations: 24.73 kB / 3.514 GB, free: 231 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.004385/9.763, allocations: 2.28 MB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/9.764, allocations: 301.4 kB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/9.765, allocations: 192.7 kB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/9.765, allocations: 305.9 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/9.765, allocations: 37.59 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.737e-06/9.765, allocations: 3.938 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001628/9.767, allocations: 420.7 kB / 3.517 GB, free: 229.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/9.767, allocations: 58.53 kB / 3.517 GB, free: 229.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/9.768, allocations: 354.1 kB / 3.517 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/9.768, allocations: 27.17 kB / 3.517 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/9.768, allocations: 323.4 kB / 3.518 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/9.768, allocations: 124.9 kB / 3.518 GB, free: 229 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/9.768, allocations: 0 / 3.518 GB, free: 229 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/9.768, allocations: 358.7 kB / 3.518 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/9.769, allocations: 135.3 kB / 3.518 GB, free: 228.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/9.769, allocations: 269.8 kB / 3.519 GB, free: 228.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/9.77, allocations: 204.3 kB / 3.519 GB, free: 228.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/9.77, allocations: 1.5 kB / 3.519 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001259/9.771, allocations: 463.8 kB / 3.519 GB, free: 228.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/9.771, allocations: 0.877 MB / 3.52 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/9.771, allocations: 5.656 kB / 3.52 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/9.771, allocations: 5 kB / 3.52 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/9.773, allocations: 95.97 kB / 3.52 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/9.773, allocations: 0.6008 MB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/9.774, allocations: 55.48 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/9.774, allocations: 19.62 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/9.774, allocations: 2.75 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/9.775, allocations: 376.3 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/9.775, allocations: 3.312 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/9.775, allocations: 3.75 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/9.776, allocations: 88.64 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/9.776, allocations: 10.05 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/9.777, allocations: 49.39 kB / 3.521 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/9.777, allocations: 25.02 kB / 3.521 GB, free: 227 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.0001713/9.777, allocations: 122.6 kB / 3.522 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001037/9.778, allocations: 376.8 kB / 3.522 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/9.778, allocations: 59.81 kB / 3.522 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/9.78, allocations: 417.2 kB / 3.522 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/9.78, allocations: 2.875 kB / 3.522 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/9.78, allocations: 5.031 kB / 3.522 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008602/9.781, allocations: 0.6387 MB / 3.523 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/9.783, allocations: 1.122 MB / 3.524 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/9.783, allocations: 2.688 kB / 3.524 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/9.784, allocations: 88.78 kB / 3.524 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/9.784, allocations: 5.156 kB / 3.524 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/9.784, allocations: 9.234 kB / 3.524 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000266/9.784, allocations: 0.5938 MB / 3.525 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/9.784, allocations: 4.875 kB / 3.525 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/9.786, allocations: 0.7894 MB / 3.526 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/9.786, allocations: 168.6 kB / 3.526 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/9.786, allocations: 6.906 kB / 3.526 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/9.787, allocations: 37.95 kB / 3.526 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/9.787, allocations: 29.08 kB / 3.526 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/9.787, allocations: 17.3 kB / 3.526 GB, free: 224.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004624/9.788, allocations: 279.9 kB / 3.526 GB, free: 224.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/9.788, allocations: 4.594 kB / 3.526 GB, free: 224.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00185/9.79, allocations: 428.3 kB / 3.526 GB, free: 224.7 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.00455/9.794, allocations: 3.258 MB / 3.53 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001877/9.796, allocations: 0.5516 MB / 3.53 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/9.796, allocations: 0.9375 kB / 3.53 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/9.797, allocations: 178.2 kB / 3.53 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/9.799, allocations: 308 kB / 3.531 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/9.803, allocations: 1.204 MB / 3.532 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/9.803, allocations: 0.9533 MB / 3.533 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001544/9.805, allocations: 235.8 kB / 3.533 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/9.805, allocations: 209.2 kB / 3.533 GB, free: 222 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/9.805, allocations: 2.312 kB / 3.533 GB, free: 222 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08825/9.894, allocations: 25.94 MB / 3.559 GB, free: 221.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/9.894, allocations: 164 kB / 3.559 GB, free: 221 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.601/13.49, allocations: 0 / 3.559 GB, free: 221 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)