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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.44 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.251e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.446/5.766, allocations: 1.929 GB / 3.142 GB, free: 339.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/5.767, allocations: 89.42 kB / 3.142 GB, free: 339.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/7.548, allocations: 483.9 MB / 3.614 GB, free: 300.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/7.548, allocations: 0 / 3.614 GB, free: 300.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001101/7.548, allocations: 25.23 kB / 3.614 GB, free: 300.5 MB / 1.151 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.002797/7.551, allocations: 0.9937 MB / 3.615 GB, free: 299.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/7.551, allocations: 14.12 kB / 3.615 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/7.552, allocations: 201.2 kB / 3.615 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/7.555, allocations: 0.9104 MB / 3.616 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/7.555, allocations: 23.28 kB / 3.616 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/7.555, allocations: 34 kB / 3.616 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008689/7.556, allocations: 430.7 kB / 3.617 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009243/7.557, allocations: 0.5157 MB / 3.617 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/7.557, allocations: 3.938 kB / 3.617 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/7.557, allocations: 4 kB / 3.617 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/7.557, allocations: 19.31 kB / 3.617 GB, free: 298.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00318/7.56, allocations: 2.29 MB / 3.62 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/7.561, allocations: 310.1 kB / 3.62 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/7.561, allocations: 200.5 kB / 3.62 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/7.562, allocations: 306.8 kB / 3.62 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/7.562, allocations: 37.91 kB / 3.62 GB, free: 296.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/7.562, allocations: 0 / 3.62 GB, free: 296.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001054/7.563, allocations: 416.4 kB / 3.621 GB, free: 296.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/7.563, allocations: 57.72 kB / 3.621 GB, free: 296.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/7.563, allocations: 351.5 kB / 3.621 GB, free: 295.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/7.563, allocations: 29.3 kB / 3.621 GB, free: 295.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/7.563, allocations: 326 kB / 3.621 GB, free: 295.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/7.564, allocations: 125.3 kB / 3.622 GB, free: 295.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/7.564, allocations: 0 / 3.622 GB, free: 295.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001006/7.564, allocations: 360.6 kB / 3.622 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/7.564, allocations: 131.2 kB / 3.622 GB, free: 295 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/7.564, allocations: 260.5 kB / 3.622 GB, free: 294.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/7.564, allocations: 205.6 kB / 3.622 GB, free: 294.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/7.564, allocations: 0 / 3.622 GB, free: 294.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007283/7.565, allocations: 460.5 kB / 3.623 GB, free: 294.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/7.565, allocations: 0.8821 MB / 3.624 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.565, allocations: 3.75 kB / 3.624 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/7.565, allocations: 7.266 kB / 3.624 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/7.566, allocations: 95.52 kB / 3.624 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00032/7.566, allocations: 0.6029 MB / 3.624 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/7.567, allocations: 64.48 kB / 3.625 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/7.567, allocations: 19.05 kB / 3.625 GB, free: 292.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/7.567, allocations: 3.5 kB / 3.625 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005832/7.568, allocations: 379.1 kB / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/7.568, allocations: 0 / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/7.568, allocations: 6.125 kB / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/7.568, allocations: 95.09 kB / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/7.568, allocations: 3.312 kB / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/7.569, allocations: 59.33 kB / 3.625 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/7.569, allocations: 22.28 kB / 3.625 GB, free: 292.7 MB / 1.151 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 () * 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.0001323/7.569, allocations: 112.7 kB / 3.625 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006077/7.57, allocations: 391.5 kB / 3.626 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/7.57, allocations: 53.39 kB / 3.626 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/7.57, allocations: 422.3 kB / 3.626 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/7.57, allocations: 7.594 kB / 3.626 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/7.57, allocations: 3.891 kB / 3.626 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000505/7.571, allocations: 0.647 MB / 3.627 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/7.572, allocations: 1.115 MB / 3.628 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/7.573, allocations: 3.844 kB / 3.628 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/7.573, allocations: 88.39 kB / 3.628 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/7.573, allocations: 6.781 kB / 3.628 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/7.573, allocations: 7.438 kB / 3.628 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002173/7.573, allocations: 0.5913 MB / 3.628 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.573, allocations: 0 / 3.628 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/7.574, allocations: 0.7671 MB / 3.629 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/7.574, allocations: 171.4 kB / 3.629 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/7.574, allocations: 9.469 kB / 3.629 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/7.575, allocations: 46.81 kB / 3.629 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/7.575, allocations: 17.98 kB / 3.629 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/7.575, allocations: 18.92 kB / 3.629 GB, free: 289.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003079/7.575, allocations: 278.8 kB / 3.63 GB, free: 289.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/7.575, allocations: 0 / 3.63 GB, free: 289.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001308/7.577, allocations: 432.5 kB / 3.63 GB, free: 289 MB / 1.151 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 () * 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.003213/7.58, allocations: 3.258 MB / 3.633 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001045/7.581, allocations: 0.5432 MB / 3.634 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/7.581, allocations: 448 / 3.634 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/7.581, allocations: 180.4 kB / 3.634 GB, free: 286.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/7.583, allocations: 303 kB / 3.634 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/7.585, allocations: 1.209 MB / 3.635 GB, free: 285.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/7.586, allocations: 0.954 MB / 3.636 GB, free: 284.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008881/7.586, allocations: 231.2 kB / 3.637 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/7.587, allocations: 214.2 kB / 3.637 GB, free: 284.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/7.587, allocations: 0 / 3.637 GB, free: 284.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05694/7.644, allocations: 25.97 MB / 3.662 GB, free: 263.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/7.644, allocations: 169.3 kB / 3.662 GB, free: 263.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/10.65, allocations: 3.938 kB / 3.662 GB, free: 263.1 MB / 1.151 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) 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