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.552/1.552, allocations: 252 MB / 267 MB, free: 10.96 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.001733/0.001733, allocations: 185.6 kB / 326.6 MB, free: 2.215 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.066/2.066, allocations: 205.4 MB / 0.5777 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.0007964/0.0007965, allocations: 89.91 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.00047, allocations: 8.156 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2674, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.886/1.154, allocations: 170.1 MB / 1.066 GB, free: 4.266 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00835/1.162, allocations: 4.329 MB / 1.071 GB, free: 4.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/1.163, allocations: 24 kB / 1.071 GB, free: 4.172 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/1.165, allocations: 279.2 kB / 1.071 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/1.169, allocations: 0.998 MB / 1.072 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/1.172, allocations: 0.5989 MB / 1.073 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0064/1.179, allocations: 2.358 MB / 1.075 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/1.18, allocations: 0.4893 MB / 1.075 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/1.184, allocations: 0.8757 MB / 1.076 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/1.186, allocations: 0.5704 MB / 1.077 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.186, allocations: 28.78 kB / 1.077 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/1.189, allocations: 0.8669 MB / 1.078 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004549/1.189, allocations: 253.9 kB / 1.078 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004216/1.19, allocations: 175.3 kB / 1.078 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/1.192, allocations: 1.022 MB / 1.079 GB, free: 3.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.192, allocations: 0 / 1.079 GB, free: 3.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/1.192, allocations: 0.875 kB / 1.079 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.998e-05/1.192, allocations: 0 / 1.079 GB, free: 3.879 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002288/1.194, allocations: 0.9606 MB / 1.08 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.194, allocations: 9.469 kB / 1.08 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/1.194, allocations: 98.38 kB / 1.08 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.196, allocations: 208.4 kB / 1.08 GB, free: 19.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.197, allocations: 0.5549 MB / 1.081 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/1.197, allocations: 41.98 kB / 1.081 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.197, allocations: 56.91 kB / 1.081 GB, free: 18.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.198, allocations: 0.6262 MB / 1.081 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.198, allocations: 0 / 1.081 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/1.198, allocations: 24.94 kB / 1.081 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.198, allocations: 21.83 kB / 1.082 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/1.199, allocations: 0.4915 MB / 1.082 GB, free: 18.8 MB / 0.7136 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.00354/1.203, allocations: 2.397 MB / 1.084 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/1.203, allocations: 352.3 kB / 1.085 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/1.204, allocations: 206.3 kB / 1.085 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/1.204, allocations: 325.1 kB / 1.085 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.204, allocations: 40.11 kB / 1.085 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/1.204, allocations: 1.344 kB / 1.085 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001283/1.206, allocations: 0.5324 MB / 1.086 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.206, allocations: 56.03 kB / 1.086 GB, free: 17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/1.207, allocations: 0.4948 MB / 1.086 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/1.207, allocations: 34.64 kB / 1.086 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/1.207, allocations: 314 kB / 1.087 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.207, allocations: 129.2 kB / 1.087 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/1.207, allocations: 7.625 kB / 1.087 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.207, allocations: 365.6 kB / 1.087 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/1.207, allocations: 137.5 kB / 1.087 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/1.208, allocations: 260.2 kB / 1.087 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/1.208, allocations: 185.8 kB / 1.088 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.208, allocations: 1.906 kB / 1.088 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007458/1.209, allocations: 473.1 kB / 1.088 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.209, allocations: 163.4 kB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.209, allocations: 2.344 kB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.209, allocations: 3.906 kB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/1.21, allocations: 103.5 kB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/1.21, allocations: 0.5963 MB / 1.089 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/1.211, allocations: 68.75 kB / 1.089 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/1.211, allocations: 29.67 kB / 1.089 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.211, allocations: 3.812 kB / 1.089 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006757/1.212, allocations: 395.7 kB / 1.089 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.212, allocations: 2.969 kB / 1.089 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/1.212, allocations: 7.531 kB / 1.089 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/1.212, allocations: 84.38 kB / 1.09 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.212, allocations: 10.78 kB / 1.09 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/1.212, allocations: 61.88 kB / 1.09 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/1.212, allocations: 20.34 kB / 1.09 GB, free: 15.29 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.0004225/1.213, allocations: 309.5 kB / 1.09 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/1.213, allocations: 61.47 kB / 1.09 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/1.214, allocations: 445.3 kB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.214, allocations: 4.062 kB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.214, allocations: 0 / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006747/1.215, allocations: 0.6408 MB / 1.091 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.216, allocations: 1.206 MB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.216, allocations: 2.938 kB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/1.217, allocations: 93.94 kB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.217, allocations: 8.609 kB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/1.217, allocations: 13.12 kB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003434/1.217, allocations: 0.5871 MB / 1.093 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.217, allocations: 5.703 kB / 1.093 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/1.218, allocations: 0.7325 MB / 1.094 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/1.218, allocations: 179.9 kB / 1.094 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/1.218, allocations: 15 kB / 1.094 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/1.219, allocations: 51.72 kB / 1.094 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.219, allocations: 29.03 kB / 1.094 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/1.219, allocations: 16.88 kB / 1.094 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004464/1.219, allocations: 349.4 kB / 1.094 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.219, allocations: 0 / 1.094 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00115/1.221, allocations: 351.6 kB / 1.095 GB, free: 13.09 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.001692/1.222, allocations: 1.37 MB / 1.096 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.224, allocations: 0.5683 MB / 1.096 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.224, allocations: 0 / 1.096 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/1.224, allocations: 187.8 kB / 1.097 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.226, allocations: 369.6 kB / 1.097 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/1.233, allocations: 3.67 MB / 1.101 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/1.234, allocations: 0.9414 MB / 1.101 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008953/1.235, allocations: 208.4 kB / 1.102 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.235, allocations: 221.8 kB / 1.102 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of SimCode: time 1.853e-06/1.235, allocations: 0 / 1.102 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/1.273, allocations: 16.9 MB / 1.118 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003318/1.274, allocations: 260.5 kB / 1.119 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.837, allocations: 5.688 kB / 1.119 GB, free: 5.582 MB / 0.7136 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)