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.404/1.404, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009593/0.0009598, allocations: 179 kB / 325.8 MB, free: 2.695 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.04/2.04, allocations: 205 MB / 0.576 GB, free: 20.93 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.00123/0.00123, allocations: 96.02 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12.53 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2103, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7283/0.9387, allocations: 184.4 MB / 1.076 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00977/0.9485, allocations: 4.682 MB / 1.081 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.9502, allocations: 26 kB / 1.081 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.9518, allocations: 340.5 kB / 1.081 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.9566, allocations: 1.277 MB / 1.082 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.9594, allocations: 0.6945 MB / 1.083 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004235/0.9636, allocations: 2.805 MB / 1.086 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009993/0.9646, allocations: 0.5366 MB / 1.086 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.9685, allocations: 0.9816 MB / 1.087 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.9699, allocations: 0.596 MB / 1.088 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.97, allocations: 30.75 kB / 1.088 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.9735, allocations: 1.55 MB / 1.089 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.9738, allocations: 248.1 kB / 1.09 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.9745, allocations: 380.9 kB / 1.09 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.9774, allocations: 1.508 MB / 1.092 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9774, allocations: 3.688 kB / 1.092 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9774, allocations: 0 / 1.092 GB, free: 1.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.9775, allocations: 0 / 1.092 GB, free: 1.227 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.001836/0.9793, allocations: 0.9564 MB / 1.093 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9794, allocations: 9.188 kB / 1.093 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.9795, allocations: 92.17 kB / 1.093 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.9808, allocations: 200.4 kB / 1.093 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.9817, allocations: 0.5769 MB / 1.093 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.9818, allocations: 43.22 kB / 1.093 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.9819, allocations: 63.56 kB / 1.093 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009765/0.9829, allocations: 0.6254 MB / 1.094 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.9829, allocations: 0 / 1.094 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.983, allocations: 25.89 kB / 1.094 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.983, allocations: 26.03 kB / 1.094 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.9837, allocations: 0.492 MB / 1.095 GB, free: 16.14 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.002835/0.9866, allocations: 2.399 MB / 1.097 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.9871, allocations: 347.2 kB / 1.097 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.9874, allocations: 211.9 kB / 1.097 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.988, allocations: 320 kB / 1.098 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.988, allocations: 37.5 kB / 1.098 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/0.988, allocations: 5.969 kB / 1.098 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001084/0.9891, allocations: 0.5419 MB / 1.098 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9892, allocations: 57.36 kB / 1.098 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.9897, allocations: 0.4884 MB / 1.099 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.9897, allocations: 36.45 kB / 1.099 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.9899, allocations: 318.2 kB / 1.099 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.9901, allocations: 126.1 kB / 1.099 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.9901, allocations: 42.77 kB / 1.099 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9903, allocations: 369.7 kB / 1.1 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.9905, allocations: 142.8 kB / 1.1 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.9908, allocations: 256 kB / 1.1 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.9913, allocations: 399.5 kB / 1.1 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9913, allocations: 5.875 kB / 1.1 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006839/0.992, allocations: 473.3 kB / 1.101 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.9921, allocations: 165.4 kB / 1.101 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.9921, allocations: 3.188 kB / 1.101 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9922, allocations: 3 kB / 1.101 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.9928, allocations: 103 kB / 1.101 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003603/0.9931, allocations: 0.6001 MB / 1.102 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.9938, allocations: 74.2 kB / 1.102 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.9938, allocations: 22.41 kB / 1.102 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.9938, allocations: 5.438 kB / 1.102 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005423/0.9944, allocations: 399.1 kB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.9944, allocations: 3.281 kB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.9944, allocations: 6.469 kB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.9947, allocations: 86.58 kB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9948, allocations: 8.281 kB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.9953, allocations: 69.55 kB / 1.102 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.9953, allocations: 15.62 kB / 1.102 GB, free: 12.53 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.0003462/0.9957, allocations: 312.1 kB / 1.103 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.9957, allocations: 56.12 kB / 1.103 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.9964, allocations: 435.3 kB / 1.103 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9965, allocations: 3.469 kB / 1.103 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9965, allocations: 0 / 1.103 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005859/0.9971, allocations: 0.6575 MB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.9988, allocations: 1.204 MB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9988, allocations: 6.922 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.9992, allocations: 102.7 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.9992, allocations: 1.781 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.9993, allocations: 13.59 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002914/0.9996, allocations: 0.5903 MB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9996, allocations: 1.75 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/1, allocations: 0.738 MB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/1.001, allocations: 179.6 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/1.001, allocations: 12 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/1.001, allocations: 37.78 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.001, allocations: 29.98 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/1.001, allocations: 17.03 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004667/1.002, allocations: 362.9 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.002, allocations: 1.75 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000979/1.003, allocations: 357.3 kB / 1.107 GB, free: 10.31 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.001465/1.004, allocations: 1.355 MB / 1.109 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.005, allocations: 0.584 MB / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.005, allocations: 0 / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/1.006, allocations: 184.9 kB / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.007, allocations: 361.6 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/1.014, allocations: 5.143 MB / 1.115 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/1.014, allocations: 0.9458 MB / 1.116 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008045/1.015, allocations: 202.3 kB / 1.116 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.016, allocations: 225.7 kB / 1.116 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/1.016, allocations: 0 / 1.116 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.36, allocations: 16.3 MB / 1.132 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/1.361, allocations: 279.5 kB / 1.132 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.936, allocations: 0 / 1.132 GB, free: 1.711 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)