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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001175/0.001175, allocations: 184.2 kB / 492.3 MB, free: 0.5977 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.444/1.444, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008957/0.0008957, allocations: 95.94 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.379e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3109, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.255/5.566, allocations: 1.929 GB / 3.142 GB, free: 400.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/5.566, allocations: 93.77 kB / 3.142 GB, free: 400.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.803/7.369, allocations: 489.3 MB / 3.619 GB, free: 299.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/7.369, allocations: 0 / 3.619 GB, free: 299.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.979e-05/7.369, allocations: 22.25 kB / 3.62 GB, free: 299.6 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.002765/7.372, allocations: 0.9964 MB / 3.62 GB, free: 299 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/7.372, allocations: 7.594 kB / 3.62 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/7.372, allocations: 93.05 kB / 3.621 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/7.374, allocations: 200 kB / 3.621 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/7.376, allocations: 0.9162 MB / 3.622 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/7.376, allocations: 46.88 kB / 3.622 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/7.377, allocations: 58.41 kB / 3.622 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/7.378, allocations: 0.5899 MB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/7.378, allocations: 3.656 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/7.378, allocations: 20.72 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/7.378, allocations: 20.25 kB / 3.622 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/7.379, allocations: 458.3 kB / 3.623 GB, free: 298.6 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.003121/7.382, allocations: 2.405 MB / 3.625 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/7.382, allocations: 332.1 kB / 3.625 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/7.383, allocations: 204.4 kB / 3.626 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/7.383, allocations: 304.6 kB / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/7.383, allocations: 37.09 kB / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.906e-06/7.383, allocations: 0 / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001038/7.384, allocations: 411.5 kB / 3.626 GB, free: 296.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/7.384, allocations: 55.34 kB / 3.626 GB, free: 296.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/7.385, allocations: 437.6 kB / 3.627 GB, free: 296.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/7.385, allocations: 37.42 kB / 3.627 GB, free: 296.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/7.385, allocations: 321.4 kB / 3.627 GB, free: 296.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/7.385, allocations: 133.5 kB / 3.627 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/7.385, allocations: 7.312 kB / 3.627 GB, free: 296.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.385, allocations: 362.8 kB / 3.628 GB, free: 296.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/7.386, allocations: 140.2 kB / 3.628 GB, free: 296.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/7.386, allocations: 275.4 kB / 3.628 GB, free: 296 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/7.386, allocations: 186.5 kB / 3.628 GB, free: 296 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/7.386, allocations: 0 / 3.628 GB, free: 296 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007285/7.387, allocations: 475.5 kB / 3.629 GB, free: 296 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/7.387, allocations: 0.8756 MB / 3.63 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/7.387, allocations: 3.938 kB / 3.63 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/7.387, allocations: 11.27 kB / 3.63 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/7.388, allocations: 91.75 kB / 3.63 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003169/7.388, allocations: 0.5961 MB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/7.389, allocations: 82.91 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/7.389, allocations: 18.69 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/7.389, allocations: 7.594 kB / 3.63 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005731/7.389, allocations: 388.5 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/7.389, allocations: 3.328 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/7.389, allocations: 7.125 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/7.39, allocations: 86.52 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/7.39, allocations: 18.86 kB / 3.631 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/7.39, allocations: 74.56 kB / 3.631 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/7.391, allocations: 18.22 kB / 3.631 GB, free: 294.4 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.0001379/7.391, allocations: 123.8 kB / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/7.391, allocations: 58.12 kB / 3.631 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/7.392, allocations: 449.3 kB / 3.632 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/7.392, allocations: 3.969 kB / 3.632 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/7.392, allocations: 0 / 3.632 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005273/7.392, allocations: 0.653 MB / 3.632 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/7.394, allocations: 1.2 MB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/7.394, allocations: 11.05 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/7.394, allocations: 84.22 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/7.394, allocations: 3.531 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/7.395, allocations: 15.16 kB / 3.633 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002517/7.395, allocations: 0.5866 MB / 3.634 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/7.395, allocations: 6.875 kB / 3.634 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/7.396, allocations: 0.7777 MB / 3.635 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/7.396, allocations: 179.2 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/7.396, allocations: 11.31 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/7.397, allocations: 51.11 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/7.397, allocations: 25.23 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/7.397, allocations: 17.59 kB / 3.635 GB, free: 292.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003735/7.397, allocations: 347.7 kB / 3.635 GB, free: 292.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/7.397, allocations: 0 / 3.635 GB, free: 292.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001613/7.399, allocations: 486.2 kB / 3.636 GB, free: 292.2 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.003338/7.402, allocations: 3.086 MB / 3.639 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00112/7.403, allocations: 0.584 MB / 3.639 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/7.403, allocations: 3.969 kB / 3.639 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/7.403, allocations: 177 kB / 3.64 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/7.405, allocations: 360.1 kB / 3.64 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/7.408, allocations: 1.251 MB / 3.641 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/7.408, allocations: 0.9599 MB / 3.642 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009016/7.409, allocations: 266.4 kB / 3.642 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/7.409, allocations: 204.4 kB / 3.643 GB, free: 289.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/7.409, allocations: 0 / 3.643 GB, free: 289.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07507/7.484, allocations: 42.41 MB / 3.684 GB, free: 279.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/7.485, allocations: 215.4 kB / 3.684 GB, free: 279.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/11.16, allocations: 3.938 kB / 3.684 GB, free: 279.1 MB / 1.151 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