Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_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.001096/0.001096, allocations: 99.86 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.001092/0.001092, 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 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.396/3.396, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004902, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.983/0.9835, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1995/1.183, allocations: 155.3 MB / 1.133 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009257/1.192, allocations: 4.452 MB / 1.137 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/1.194, allocations: 23.88 kB / 1.137 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/1.195, allocations: 430 kB / 1.137 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00464/1.2, allocations: 1.25 MB / 1.139 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/1.203, allocations: 0.8406 MB / 1.139 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002603/1.206, allocations: 1.128 MB / 1.14 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009586/1.207, allocations: 0.4916 MB / 1.141 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/1.209, allocations: 0.732 MB / 1.142 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007408/1.209, allocations: 374.5 kB / 1.142 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/1.209, allocations: 28 kB / 1.142 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/1.211, allocations: 0.6825 MB / 1.143 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/1.212, allocations: 231.4 kB / 1.143 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/1.212, allocations: 169.3 kB / 1.143 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/1.213, allocations: 0.9235 MB / 1.144 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.214, allocations: 0 / 1.144 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.186e-06/1.214, allocations: 0 / 1.144 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.214, allocations: 0 / 1.144 GB, free: 14.82 MB / 0.9044 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.00212/1.216, allocations: 0.9387 MB / 1.145 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/1.216, allocations: 8.031 kB / 1.145 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/1.216, allocations: 98.45 kB / 1.145 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/1.217, allocations: 198.9 kB / 1.145 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.219, allocations: 0.5563 MB / 1.146 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/1.219, allocations: 41.31 kB / 1.146 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.219, allocations: 59.98 kB / 1.146 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.22, allocations: 0.605 MB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.22, allocations: 0 / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/1.22, allocations: 27.95 kB / 1.146 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/1.22, allocations: 21.31 kB / 1.147 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/1.221, allocations: 0.4891 MB / 1.147 GB, free: 11.67 MB / 0.9044 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.003417/1.224, allocations: 2.396 MB / 1.149 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/1.225, allocations: 368.6 kB / 1.15 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/1.225, allocations: 141 kB / 1.15 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.225, allocations: 39.16 kB / 1.15 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.524e-06/1.225, allocations: 3.938 kB / 1.15 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001201/1.226, allocations: 0.5488 MB / 1.15 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.227, allocations: 55.41 kB / 1.15 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/1.227, allocations: 0.4912 MB / 1.151 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/1.227, allocations: 29.7 kB / 1.151 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.227, allocations: 323.8 kB / 1.151 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.228, allocations: 130.1 kB / 1.151 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/1.228, allocations: 4 kB / 1.151 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.228, allocations: 362.8 kB / 1.152 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/1.228, allocations: 148.8 kB / 1.152 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/1.228, allocations: 259.7 kB / 1.152 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/1.229, allocations: 185.6 kB / 1.152 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.229, allocations: 0 / 1.152 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007558/1.229, allocations: 493.5 kB / 1.153 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003841/1.23, allocations: 0.8692 MB / 1.154 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.23, allocations: 4 kB / 1.154 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.23, allocations: 7.953 kB / 1.154 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/1.23, allocations: 103.9 kB / 1.154 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/1.231, allocations: 0.5938 MB / 1.154 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/1.232, allocations: 79.55 kB / 1.154 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/1.232, allocations: 16 kB / 1.154 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/1.232, allocations: 4 kB / 1.154 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006101/1.232, allocations: 403.5 kB / 1.155 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.232, allocations: 3.938 kB / 1.155 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.232, allocations: 4.281 kB / 1.155 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/1.233, allocations: 91.91 kB / 1.155 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.233, allocations: 4 kB / 1.155 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/1.233, allocations: 75.5 kB / 1.155 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/1.233, allocations: 19.94 kB / 1.155 GB, free: 3.051 MB / 0.9044 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.0003889/1.234, allocations: 304.9 kB / 1.155 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.234, allocations: 55.34 kB / 1.155 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/1.234, allocations: 451.7 kB / 1.156 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.234, allocations: 11.94 kB / 1.156 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.234, allocations: 0 / 1.156 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006645/1.235, allocations: 0.6558 MB / 1.156 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/1.237, allocations: 1.206 MB / 1.158 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.237, allocations: 7.953 kB / 1.158 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/1.237, allocations: 83.89 kB / 1.158 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.237, allocations: 7.938 kB / 1.158 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/1.238, allocations: 15.98 kB / 1.158 GB, free: 88 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/1.238, allocations: 0.5902 MB / 1.158 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.238, allocations: 0 / 1.158 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/1.239, allocations: 0.791 MB / 1.159 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/1.239, allocations: 176.4 kB / 1.159 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/1.239, allocations: 12 kB / 1.159 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/1.24, allocations: 49.34 kB / 1.159 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/1.24, allocations: 31.86 kB / 1.159 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/1.24, allocations: 12 kB / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004321/1.24, allocations: 358.8 kB / 1.16 GB, free: 13.96 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.24, allocations: 0 / 1.16 GB, free: 13.96 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001076/1.241, allocations: 339.2 kB / 1.16 GB, free: 13.63 MB / 0.92 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.001812/1.243, allocations: 1.919 MB / 1.162 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001215/1.244, allocations: 0.5784 MB / 1.162 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.244, allocations: 4.062 kB / 1.162 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/1.245, allocations: 188 kB / 1.163 GB, free: 10.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.247, allocations: 345.2 kB / 1.163 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/1.253, allocations: 5.045 MB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/1.253, allocations: 0.9531 MB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009267/1.254, allocations: 200.9 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.255, allocations: 219.4 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of SimCode: time 1.373e-06/1.255, allocations: 0 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/1.297, allocations: 16.89 MB / 1.186 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.298, allocations: 249.4 kB / 1.186 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.561, allocations: 4 kB / 1.186 GB, free: 3.09 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat does not exist to compare? outputFormat=mat