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.397/1.397, allocations: 252 MB / 267.3 MB, free: 10.87 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.001829/0.001828, allocations: 179.4 kB / 327 MB, free: 2.102 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.047/2.047, allocations: 205.4 MB / 0.578 GB, free: 20.45 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.001094/0.001094, allocations: 92.3 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12.69 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2654, allocations: 106.3 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8695/1.135, allocations: 182.3 MB / 1.079 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009542/1.144, allocations: 4.631 MB / 1.083 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/1.146, allocations: 21.91 kB / 1.083 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/1.147, allocations: 344 kB / 1.084 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004435/1.151, allocations: 1.268 MB / 1.085 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/1.154, allocations: 0.7098 MB / 1.086 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004369/1.159, allocations: 2.795 MB / 1.088 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/1.159, allocations: 0.5558 MB / 1.089 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/1.163, allocations: 0.966 MB / 1.09 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/1.165, allocations: 0.6039 MB / 1.091 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/1.165, allocations: 28.53 kB / 1.091 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/1.169, allocations: 1.54 MB / 1.092 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/1.169, allocations: 259.6 kB / 1.092 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005905/1.17, allocations: 399.7 kB / 1.093 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/1.172, allocations: 1.507 MB / 1.094 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.172, allocations: 4 kB / 1.094 GB, free: 1.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/1.172, allocations: 4.719 kB / 1.094 GB, free: 1.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.172, allocations: 0 / 1.094 GB, free: 1.301 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.001745/1.174, allocations: 0.9581 MB / 1.095 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.174, allocations: 8.625 kB / 1.095 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/1.174, allocations: 98.72 kB / 1.095 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/1.175, allocations: 197.2 kB / 1.095 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/1.176, allocations: 0.5795 MB / 1.096 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/1.176, allocations: 47.56 kB / 1.096 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/1.177, allocations: 56.28 kB / 1.096 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/1.178, allocations: 0.6248 MB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.178, allocations: 0 / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/1.178, allocations: 24.12 kB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/1.178, allocations: 21.81 kB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/1.178, allocations: 0.4922 MB / 1.097 GB, free: 16.21 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.002913/1.181, allocations: 2.403 MB / 1.1 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/1.182, allocations: 355 kB / 1.1 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/1.182, allocations: 207.3 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/1.183, allocations: 316.1 kB / 1.1 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.183, allocations: 41.12 kB / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/1.183, allocations: 0 / 1.1 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001032/1.184, allocations: 0.5423 MB / 1.101 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.184, allocations: 61.03 kB / 1.101 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/1.184, allocations: 0.4896 MB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/1.185, allocations: 32.23 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/1.185, allocations: 326.1 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.185, allocations: 126.5 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/1.185, allocations: 7.375 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.185, allocations: 370.4 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/1.185, allocations: 145.9 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/1.186, allocations: 251.8 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/1.186, allocations: 407.4 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.186, allocations: 0 / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007263/1.187, allocations: 484.4 kB / 1.104 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.187, allocations: 148.2 kB / 1.104 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.187, allocations: 2.781 kB / 1.104 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.187, allocations: 9.688 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/1.188, allocations: 102.6 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004352/1.188, allocations: 0.5996 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/1.189, allocations: 66.11 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/1.189, allocations: 20.17 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/1.189, allocations: 5.531 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006069/1.189, allocations: 410.1 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.189, allocations: 2.562 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.19, allocations: 5.531 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/1.19, allocations: 85.36 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/1.19, allocations: 3.906 kB / 1.105 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/1.19, allocations: 71.12 kB / 1.105 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.19, allocations: 18.86 kB / 1.105 GB, free: 12.61 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004217/1.191, allocations: 313.7 kB / 1.105 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/1.191, allocations: 56.19 kB / 1.105 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/1.192, allocations: 449.3 kB / 1.106 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.192, allocations: 2.5 kB / 1.106 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.192, allocations: 0 / 1.106 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007032/1.193, allocations: 0.6472 MB / 1.106 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.194, allocations: 1.208 MB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.194, allocations: 0 / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/1.195, allocations: 89.67 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/1.195, allocations: 8.016 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.195, allocations: 14 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003707/1.195, allocations: 0.5921 MB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.195, allocations: 3.312 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/1.196, allocations: 0.7403 MB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.197, allocations: 177 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/1.197, allocations: 10.31 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/1.197, allocations: 46.86 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/1.197, allocations: 28.44 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/1.197, allocations: 19.2 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004122/1.198, allocations: 357.8 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.198, allocations: 0 / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001049/1.199, allocations: 357.3 kB / 1.11 GB, free: 10.41 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001789/1.201, allocations: 1.355 MB / 1.111 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.202, allocations: 0.5934 MB / 1.112 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.202, allocations: 7.125 kB / 1.112 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/1.202, allocations: 182.5 kB / 1.112 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.204, allocations: 360.9 kB / 1.112 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/1.211, allocations: 5.223 MB / 1.118 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.212, allocations: 0.9449 MB / 1.118 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008184/1.213, allocations: 202.5 kB / 1.119 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.213, allocations: 222 kB / 1.119 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.213, allocations: 0 / 1.119 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/1.255, allocations: 16.29 MB / 1.135 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.255, allocations: 279.4 kB / 1.135 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/4.062, allocations: 0 / 1.135 GB, free: 0.7969 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)