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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001316, allocations: 182.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000869/0.000869, allocations: 101.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.387/6.65, allocations: 2.202 GB / 3.102 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/6.65, allocations: 94.62 kB / 3.102 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.71/8.36, allocations: 468.7 MB / 3.56 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.695e-06/8.36, allocations: 0 / 3.56 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000131/8.36, allocations: 26.12 kB / 3.56 GB, free: 199.3 MB / 0.8855 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.003674/8.364, allocations: 1.094 MB / 3.561 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/8.364, allocations: 8.031 kB / 3.561 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/8.364, allocations: 94.52 kB / 3.561 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/8.366, allocations: 206.3 kB / 3.561 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/8.369, allocations: 0.9028 MB / 3.562 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/8.369, allocations: 45.27 kB / 3.562 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/8.37, allocations: 60 kB / 3.562 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/8.371, allocations: 0.6032 MB / 3.563 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/8.371, allocations: 0 / 3.563 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/8.371, allocations: 20 kB / 3.563 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/8.371, allocations: 21.25 kB / 3.563 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009407/8.372, allocations: 481 kB / 3.563 GB, free: 195.8 MB / 0.8855 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.004039/8.376, allocations: 2.414 MB / 3.565 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/8.377, allocations: 321.7 kB / 3.566 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/8.377, allocations: 303.8 kB / 3.566 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/8.377, allocations: 47.06 kB / 3.566 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/8.377, allocations: 0 / 3.566 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.001268/8.378, allocations: 0.5248 MB / 3.567 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/8.379, allocations: 55.41 kB / 3.567 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/8.379, allocations: 438.1 kB / 3.567 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/8.379, allocations: 37.7 kB / 3.567 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/8.379, allocations: 320.4 kB / 3.567 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/8.38, allocations: 126 kB / 3.568 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/8.38, allocations: 8 kB / 3.568 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001413/8.38, allocations: 370.7 kB / 3.568 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/8.38, allocations: 136.8 kB / 3.568 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/8.38, allocations: 279.1 kB / 3.568 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/8.381, allocations: 190.2 kB / 3.568 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/8.381, allocations: 0 / 3.568 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007376/8.381, allocations: 470.5 kB / 3.569 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002701/8.382, allocations: 0.8771 MB / 3.57 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/8.382, allocations: 8 kB / 3.57 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/8.382, allocations: 7.938 kB / 3.57 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/8.382, allocations: 91.89 kB / 3.57 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003852/8.383, allocations: 0.5976 MB / 3.57 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/8.383, allocations: 75.58 kB / 3.571 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/8.383, allocations: 16 kB / 3.571 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/8.384, allocations: 4 kB / 3.571 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005762/8.384, allocations: 399.8 kB / 3.571 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/8.384, allocations: 4 kB / 3.571 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/8.384, allocations: 4 kB / 3.571 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/8.384, allocations: 91.83 kB / 3.571 GB, free: 187.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/8.384, allocations: 4 kB / 3.571 GB, free: 187.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/8.385, allocations: 59.94 kB / 3.571 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/8.385, allocations: 23.98 kB / 3.571 GB, free: 187.1 MB / 0.8855 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 () * Number of clocked 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.0004494/8.386, allocations: 318.7 kB / 3.571 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/8.386, allocations: 63.2 kB / 3.571 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/8.386, allocations: 443.5 kB / 3.572 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/8.386, allocations: 4 kB / 3.572 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/8.387, allocations: 0 / 3.572 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005861/8.387, allocations: 0.644 MB / 3.573 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/8.389, allocations: 1.193 MB / 3.574 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/8.389, allocations: 4 kB / 3.574 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/8.39, allocations: 99.91 kB / 3.574 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/8.39, allocations: 4 kB / 3.574 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/8.39, allocations: 8.219 kB / 3.574 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002471/8.39, allocations: 0.5938 MB / 3.574 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/8.39, allocations: 7.984 kB / 3.574 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/8.391, allocations: 0.8029 MB / 3.575 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/8.391, allocations: 180.4 kB / 3.575 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/8.391, allocations: 11.95 kB / 3.575 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/8.392, allocations: 51.81 kB / 3.575 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/8.392, allocations: 19.97 kB / 3.575 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/8.392, allocations: 15.98 kB / 3.575 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004038/8.392, allocations: 350.8 kB / 3.576 GB, free: 182 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/8.392, allocations: 0 / 3.576 GB, free: 182 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001801/8.394, allocations: 487.2 kB / 3.576 GB, free: 181.5 MB / 0.8855 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 () * Number of clocked 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.003812/8.398, allocations: 3.116 MB / 3.579 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001169/8.399, allocations: 0.5615 MB / 3.58 GB, free: 178 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/8.399, allocations: 4 kB / 3.58 GB, free: 178 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/8.399, allocations: 181.3 kB / 3.58 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/8.401, allocations: 360.5 kB / 3.58 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/8.407, allocations: 5.014 MB / 3.585 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/8.408, allocations: 0.9534 MB / 3.586 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008033/8.408, allocations: 204.9 kB / 3.586 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/8.409, allocations: 219.4 kB / 3.587 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.123e-06/8.409, allocations: 0 / 3.587 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/8.48, allocations: 37.94 MB / 3.624 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/8.48, allocations: 252.3 kB / 3.624 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/12.35, allocations: 0 / 3.624 GB, free: 132.9 MB / 0.8855 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)