Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_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.001198/0.001198, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001483/0.001483, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7635, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2014/0.965, allocations: 155.3 MB / 1.105 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.9759, allocations: 4.451 MB / 1.11 GB, free: 24 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.9771, allocations: 27.92 kB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.9789, allocations: 433.9 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005375/0.9843, allocations: 1.238 MB / 1.111 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.9881, allocations: 0.8544 MB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.991, allocations: 1.124 MB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.9921, allocations: 499.4 kB / 1.114 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.9945, allocations: 0.732 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.9953, allocations: 378.5 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.383e-05/0.9954, allocations: 28 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.9978, allocations: 0.6825 MB / 1.115 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.9982, allocations: 223.4 kB / 1.116 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.9986, allocations: 173.3 kB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/1, allocations: 0.9234 MB / 1.117 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1, allocations: 4 kB / 1.117 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.584e-06/1, allocations: 0 / 1.117 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.286e-05/1, allocations: 0 / 1.117 GB, free: 8.723 MB / 0.8731 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.002065/1.002, allocations: 0.9232 MB / 1.118 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.003, allocations: 8.031 kB / 1.118 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/1.003, allocations: 102.4 kB / 1.118 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.005, allocations: 218.8 kB / 1.118 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.006, allocations: 0.5524 MB / 1.118 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/1.006, allocations: 37.31 kB / 1.119 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.006, allocations: 56 kB / 1.119 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/1.008, allocations: 0.6167 MB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.008, allocations: 0 / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/1.008, allocations: 27.94 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/1.008, allocations: 17.31 kB / 1.119 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.009, allocations: 0.4892 MB / 1.12 GB, free: 5.57 MB / 0.8731 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.004346/1.014, allocations: 2.4 MB / 1.122 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/1.014, allocations: 367.2 kB / 1.122 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/1.015, allocations: 141 kB / 1.123 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.015, allocations: 38.56 kB / 1.123 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 3.557e-06/1.015, allocations: 0 / 1.123 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.001699/1.017, allocations: 0.5523 MB / 1.123 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.017, allocations: 55.41 kB / 1.123 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/1.018, allocations: 495 kB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/1.018, allocations: 37.7 kB / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.018, allocations: 315.8 kB / 1.124 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.018, allocations: 138 kB / 1.124 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/1.018, allocations: 12 kB / 1.124 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.019, allocations: 362.8 kB / 1.124 GB, free: 408 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/1.019, allocations: 144.7 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/1.019, allocations: 255.8 kB / 1.125 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/1.02, allocations: 193.5 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.02, allocations: 4 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000904/1.021, allocations: 473.6 kB / 1.125 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/1.021, allocations: 0.8771 MB / 1.126 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.021, allocations: 0 / 1.126 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.021, allocations: 8 kB / 1.126 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/1.022, allocations: 103.8 kB / 1.126 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004107/1.022, allocations: 0.5977 MB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/1.023, allocations: 75.58 kB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.023, allocations: 16 kB / 1.127 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.023, allocations: 4 kB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006398/1.023, allocations: 411.8 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.023, allocations: 4 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/1.023, allocations: 4 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.024, allocations: 83.84 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.024, allocations: 4 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/1.024, allocations: 75.8 kB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/1.024, allocations: 16 kB / 1.128 GB, free: 12.96 MB / 0.8887 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.000366/1.025, allocations: 320.8 kB / 1.128 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/1.025, allocations: 55.34 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/1.026, allocations: 443.4 kB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.026, allocations: 7.984 kB / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.026, allocations: 0 / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005979/1.026, allocations: 0.6534 MB / 1.129 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.028, allocations: 1.212 MB / 1.13 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.028, allocations: 0 / 1.13 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/1.028, allocations: 91.89 kB / 1.13 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.028, allocations: 4 kB / 1.13 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.028, allocations: 12.2 kB / 1.13 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003051/1.029, allocations: 0.5976 MB / 1.131 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.029, allocations: 7.969 kB / 1.131 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/1.03, allocations: 0.7939 MB / 1.132 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/1.03, allocations: 180.4 kB / 1.132 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/1.03, allocations: 8 kB / 1.132 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/1.031, allocations: 39.91 kB / 1.132 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/1.031, allocations: 23.97 kB / 1.132 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/1.031, allocations: 19.95 kB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004061/1.031, allocations: 354.8 kB / 1.132 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 0 / 1.132 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009914/1.032, allocations: 347.1 kB / 1.133 GB, free: 7.523 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.001806/1.034, allocations: 1.897 MB / 1.135 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001187/1.035, allocations: 0.5777 MB / 1.135 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.035, allocations: 0 / 1.135 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.035, allocations: 189.4 kB / 1.135 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.037, allocations: 361.6 kB / 1.136 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/1.043, allocations: 5.051 MB / 1.141 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/1.044, allocations: 0.9569 MB / 1.142 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007573/1.045, allocations: 204.8 kB / 1.142 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.045, allocations: 219.4 kB / 1.142 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of SimCode: time 9.11e-07/1.045, allocations: 0 / 1.142 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/1.079, allocations: 16.88 MB / 1.158 GB, free: 13.33 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.079, allocations: 244 kB / 1.159 GB, free: 13.09 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.172, allocations: 0 / 1.159 GB, free: 13.09 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat does not exist to compare? outputFormat=mat