Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.911/1.911, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005492, allocations: 17.41 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2423, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6139/0.8562, allocations: 155.3 MB / 0.9389 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008168/0.8644, allocations: 4.425 MB / 0.9432 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.8657, allocations: 21.09 kB / 0.9432 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.8673, allocations: 433.5 kB / 0.9437 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.872, allocations: 1.223 MB / 0.9449 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.8753, allocations: 0.8388 MB / 0.9457 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.8782, allocations: 1.115 MB / 0.9468 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.8793, allocations: 0.4953 MB / 0.9472 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.8814, allocations: 0.7292 MB / 0.948 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.8822, allocations: 372.4 kB / 0.9483 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.8823, allocations: 28.16 kB / 0.9483 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8846, allocations: 0.6857 MB / 0.949 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.8849, allocations: 227.7 kB / 0.9492 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.8855, allocations: 170.2 kB / 0.9494 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.8869, allocations: 0.9172 MB / 0.9503 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8869, allocations: 2.906 kB / 0.9503 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8869, allocations: 0.9688 kB / 0.9503 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.887, allocations: 4 kB / 0.9503 GB, free: 20.9 MB / 0.7325 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.001549/0.8885, allocations: 0.9249 MB / 0.9512 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8886, allocations: 9.344 kB / 0.9512 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.8887, allocations: 95.3 kB / 0.9513 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.89, allocations: 206.5 kB / 0.9515 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.891, allocations: 0.5501 MB / 0.952 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.891, allocations: 43.58 kB / 0.9521 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.8911, allocations: 55.19 kB / 0.9521 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.8921, allocations: 0.6171 MB / 0.9527 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.8921, allocations: 0.9375 kB / 0.9527 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.8922, allocations: 20.12 kB / 0.9527 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.8922, allocations: 21.09 kB / 0.9528 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.893, allocations: 499.8 kB / 0.9532 GB, free: 19.85 MB / 0.7325 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.003188/0.8962, allocations: 2.386 MB / 0.9556 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.8969, allocations: 362.7 kB / 0.9559 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.8973, allocations: 137 kB / 0.9561 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.8973, allocations: 39.41 kB / 0.9561 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.8973, allocations: 0 / 0.9561 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001112/0.8985, allocations: 0.5484 MB / 0.9566 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.8985, allocations: 54.59 kB / 0.9567 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.8991, allocations: 0.4906 MB / 0.9572 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.8991, allocations: 35.39 kB / 0.9572 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.8993, allocations: 321.9 kB / 0.9575 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.8994, allocations: 129 kB / 0.9576 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.8995, allocations: 9.344 kB / 0.9576 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.8997, allocations: 363.9 kB / 0.958 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.8999, allocations: 141.1 kB / 0.9581 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.9002, allocations: 270.1 kB / 0.9584 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.9005, allocations: 186.7 kB / 0.9585 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9005, allocations: 0 / 0.9585 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006781/0.9012, allocations: 479.2 kB / 0.959 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.9015, allocations: 0.8786 MB / 0.9599 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9015, allocations: 2.625 kB / 0.9599 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9016, allocations: 9.812 kB / 0.9599 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.9022, allocations: 101.9 kB / 0.96 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004809/0.9027, allocations: 0.5954 MB / 0.9606 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.9033, allocations: 71.62 kB / 0.9606 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.9034, allocations: 18.39 kB / 0.9606 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.9034, allocations: 3.812 kB / 0.9606 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005967/0.904, allocations: 404.5 kB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.904, allocations: 2.344 kB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.904, allocations: 4.656 kB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.9044, allocations: 89 kB / 0.9611 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9044, allocations: 4.688 kB / 0.9611 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.905, allocations: 68.62 kB / 0.9612 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.905, allocations: 15.75 kB / 0.9612 GB, free: 15.78 MB / 0.7325 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.0004218/0.9054, allocations: 313.5 kB / 0.9615 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.9055, allocations: 55.66 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.9062, allocations: 449.2 kB / 0.962 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9062, allocations: 7.141 kB / 0.962 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9062, allocations: 0 / 0.962 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007018/0.9069, allocations: 0.6497 MB / 0.9626 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.9086, allocations: 1.196 MB / 0.9638 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.9086, allocations: 8.391 kB / 0.9638 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.9091, allocations: 96.2 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.9091, allocations: 4.031 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.9091, allocations: 9.75 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/0.9095, allocations: 0.5994 MB / 0.9645 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9095, allocations: 5.531 kB / 0.9645 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.9104, allocations: 0.8125 MB / 0.9653 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.9107, allocations: 180 kB / 0.9655 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.9108, allocations: 10.06 kB / 0.9655 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.9112, allocations: 48.38 kB / 0.9655 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.9113, allocations: 24.66 kB / 0.9655 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.9113, allocations: 16.58 kB / 0.9656 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004204/0.9117, allocations: 355.5 kB / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9118, allocations: 0 / 0.9659 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001341/0.9131, allocations: 341.5 kB / 0.9662 GB, free: 13.45 MB / 0.7325 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.002047/0.9152, allocations: 1.93 MB / 0.9681 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.9164, allocations: 0.5782 MB / 0.9687 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9164, allocations: 0 / 0.9687 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.9167, allocations: 191.3 kB / 0.9689 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.9186, allocations: 358.5 kB / 0.9692 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/0.9248, allocations: 5.009 MB / 0.9741 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.9254, allocations: 0.9558 MB / 0.975 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.9262, allocations: 197.7 kB / 0.9752 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.9265, allocations: 216.5 kB / 0.9754 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/0.9265, allocations: 0 / 0.9754 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.9642, allocations: 16.86 MB / 0.9919 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.9645, allocations: 238.6 kB / 0.9921 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.493, allocations: 0 / 0.9921 GB, free: 1.227 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: