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 1.59/1.59, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.0009975/0.0009976, allocations: 189.2 kB / 371.1 MB, free: 10.73 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.503/1.503, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007621/0.0007621, allocations: 92.41 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 13.77 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6184/0.8381, allocations: 169.9 MB / 1.145 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007422/0.8455, allocations: 4.258 MB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.8466, allocations: 24.88 kB / 1.149 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009425/0.8476, allocations: 272.3 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.8507, allocations: 0.9917 MB / 1.15 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.8524, allocations: 0.5755 MB / 1.151 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.8551, allocations: 2.319 MB / 1.153 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.8559, allocations: 0.5356 MB / 1.153 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.858, allocations: 0.8497 MB / 1.154 GB, free: 8.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.8588, allocations: 0.558 MB / 1.155 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.8588, allocations: 28.19 kB / 1.155 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.8611, allocations: 0.8728 MB / 1.156 GB, free: 8.098 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.8615, allocations: 246.6 kB / 1.156 GB, free: 7.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.8617, allocations: 174.4 kB / 1.156 GB, free: 7.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.8629, allocations: 0.9958 MB / 1.157 GB, free: 7.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8629, allocations: 0 / 1.157 GB, free: 7.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8629, allocations: 3.938 kB / 1.157 GB, free: 7.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.863, allocations: 1.062 kB / 1.157 GB, free: 7.215 MB / 0.698 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.001416/0.8644, allocations: 0.9581 MB / 1.158 GB, free: 6.422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8644, allocations: 9.438 kB / 1.158 GB, free: 6.422 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.8645, allocations: 93.86 kB / 1.158 GB, free: 6.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.8657, allocations: 205.4 kB / 1.158 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.8665, allocations: 0.5712 MB / 1.159 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.8666, allocations: 39.75 kB / 1.159 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.8667, allocations: 56.53 kB / 1.159 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.8676, allocations: 0.6184 MB / 1.16 GB, free: 5.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8677, allocations: 1.469 kB / 1.16 GB, free: 5.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.8677, allocations: 20.41 kB / 1.16 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.8677, allocations: 22.66 kB / 1.16 GB, free: 5.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.8686, allocations: 499.2 kB / 1.16 GB, free: 5.098 MB / 0.698 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.002767/0.8713, allocations: 2.385 MB / 1.162 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.8719, allocations: 358.1 kB / 1.163 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.8722, allocations: 211.1 kB / 1.163 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.8727, allocations: 325 kB / 1.163 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8727, allocations: 41.34 kB / 1.163 GB, free: 2.344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/0.8727, allocations: 0 / 1.163 GB, free: 2.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001057/0.8738, allocations: 0.5359 MB / 1.164 GB, free: 2.074 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8739, allocations: 59.47 kB / 1.164 GB, free: 2.008 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.8744, allocations: 0.4916 MB / 1.164 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.8745, allocations: 39.92 kB / 1.164 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.8747, allocations: 313.5 kB / 1.165 GB, free: 1.387 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.8748, allocations: 134.7 kB / 1.165 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.8748, allocations: 5 kB / 1.165 GB, free: 1.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8749, allocations: 364.1 kB / 1.165 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.8752, allocations: 143.5 kB / 1.165 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.8755, allocations: 268.1 kB / 1.166 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.876, allocations: 405 kB / 1.166 GB, free: 380 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.876, allocations: 3.938 kB / 1.166 GB, free: 376 kB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006691/0.8767, allocations: 482.5 kB / 1.166 GB, free: 120 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.8768, allocations: 157.1 kB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8768, allocations: 3.094 kB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8769, allocations: 4.125 kB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.8774, allocations: 100 kB / 1.167 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003201/0.8778, allocations: 0.5962 MB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.8784, allocations: 75.34 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.8784, allocations: 17.84 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.8784, allocations: 5.625 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006144/0.879, allocations: 404 kB / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8791, allocations: 7.109 kB / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.8791, allocations: 7.688 kB / 1.168 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.8794, allocations: 85.25 kB / 1.168 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.8794, allocations: 8.562 kB / 1.168 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.8799, allocations: 66.67 kB / 1.168 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.8799, allocations: 16.72 kB / 1.168 GB, free: 15 MB / 0.7136 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.0003243/0.8803, allocations: 300.4 kB / 1.168 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.8804, allocations: 66.44 kB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.8811, allocations: 436.5 kB / 1.169 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8811, allocations: 4.031 kB / 1.169 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8811, allocations: 0 / 1.169 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005961/0.8817, allocations: 0.6545 MB / 1.169 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.8833, allocations: 1.204 MB / 1.17 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.8833, allocations: 2.156 kB / 1.17 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.8838, allocations: 108.3 kB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.8838, allocations: 2.906 kB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.8839, allocations: 10.06 kB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002719/0.8841, allocations: 0.5906 MB / 1.171 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8842, allocations: 5.781 kB / 1.171 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.8852, allocations: 0.7251 MB / 1.172 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.8855, allocations: 181.9 kB / 1.172 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.8855, allocations: 16.81 kB / 1.172 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.886, allocations: 35.75 kB / 1.172 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.886, allocations: 33.38 kB / 1.172 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.886, allocations: 15.98 kB / 1.172 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003565/0.8864, allocations: 348.9 kB / 1.172 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8864, allocations: 0 / 1.172 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009183/0.8873, allocations: 344.3 kB / 1.173 GB, free: 11.36 MB / 0.7136 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.001508/0.8889, allocations: 1.373 MB / 1.174 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.89, allocations: 0.5815 MB / 1.175 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.89, allocations: 1.75 kB / 1.175 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.8903, allocations: 189.6 kB / 1.175 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.8921, allocations: 360.6 kB / 1.175 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.897, allocations: 3.681 MB / 1.179 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.8975, allocations: 0.939 MB / 1.18 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007183/0.8982, allocations: 204 kB / 1.18 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.8985, allocations: 221.9 kB / 1.18 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.8985, allocations: 0 / 1.18 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.003, allocations: 16.88 MB / 1.197 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.003, allocations: 247 kB / 1.197 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.337, allocations: 0 / 1.197 GB, free: 11.81 MB / 0.7292 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)