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.218/2.218, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001461/0.001461, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009273/0.0009276, allocations: 83.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.974e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.384, allocations: 1.93 GB / 3.149 GB, free: 384.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.385, allocations: 87.95 kB / 3.149 GB, free: 384.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.767/7.151, allocations: 489.3 MB / 3.627 GB, free: 310.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/7.151, allocations: 3.188 kB / 3.627 GB, free: 310.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.353e-05/7.151, allocations: 18.38 kB / 3.627 GB, free: 310.5 MB / 1.167 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.002652/7.154, allocations: 0.9947 MB / 3.628 GB, free: 310 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/7.154, allocations: 11.56 kB / 3.628 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002274/7.154, allocations: 91.2 kB / 3.628 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/7.156, allocations: 209 kB / 3.628 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/7.158, allocations: 0.9105 MB / 3.629 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/7.158, allocations: 38.06 kB / 3.629 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/7.159, allocations: 66.67 kB / 3.629 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/7.16, allocations: 0.5777 MB / 3.629 GB, free: 309.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/7.16, allocations: 0 / 3.629 GB, free: 309.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/7.16, allocations: 19.56 kB / 3.629 GB, free: 309.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/7.16, allocations: 28.44 kB / 3.63 GB, free: 309.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/7.161, allocations: 467.5 kB / 3.63 GB, free: 309.2 MB / 1.167 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.003034/7.164, allocations: 2.407 MB / 3.632 GB, free: 307.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/7.164, allocations: 324.2 kB / 3.633 GB, free: 307.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/7.164, allocations: 201.4 kB / 3.633 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/7.165, allocations: 304.4 kB / 3.633 GB, free: 307 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/7.165, allocations: 38.41 kB / 3.633 GB, free: 307 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.727e-06/7.165, allocations: 7.172 kB / 3.633 GB, free: 307 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.0009209/7.166, allocations: 419.2 kB / 3.634 GB, free: 306.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/7.166, allocations: 58.77 kB / 3.634 GB, free: 306.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/7.166, allocations: 438 kB / 3.634 GB, free: 306.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/7.166, allocations: 33.36 kB / 3.634 GB, free: 306.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/7.167, allocations: 319.3 kB / 3.634 GB, free: 306.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/7.167, allocations: 132 kB / 3.634 GB, free: 306.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/7.167, allocations: 11.94 kB / 3.635 GB, free: 306.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001059/7.167, allocations: 366 kB / 3.635 GB, free: 305.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/7.167, allocations: 137 kB / 3.635 GB, free: 305.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/7.167, allocations: 277.2 kB / 3.635 GB, free: 305.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/7.168, allocations: 187.5 kB / 3.635 GB, free: 305.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/7.168, allocations: 3.953 kB / 3.635 GB, free: 305.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000673/7.168, allocations: 479.7 kB / 3.636 GB, free: 305.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/7.169, allocations: 0.8722 MB / 3.637 GB, free: 304.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/7.169, allocations: 3.938 kB / 3.637 GB, free: 304.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/7.169, allocations: 3.906 kB / 3.637 GB, free: 304.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/7.169, allocations: 97.36 kB / 3.637 GB, free: 304.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003475/7.17, allocations: 0.5978 MB / 3.637 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/7.17, allocations: 75.66 kB / 3.637 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/7.17, allocations: 15.69 kB / 3.638 GB, free: 303.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/7.17, allocations: 5.375 kB / 3.638 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006174/7.171, allocations: 392.1 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/7.171, allocations: 3.875 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/7.171, allocations: 7.859 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/7.171, allocations: 89 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/7.171, allocations: 7.094 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/7.172, allocations: 79.14 kB / 3.638 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/7.172, allocations: 24.83 kB / 3.638 GB, free: 303.7 MB / 1.167 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.0001371/7.172, allocations: 123.2 kB / 3.638 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/7.172, allocations: 55.09 kB / 3.638 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/7.173, allocations: 450.6 kB / 3.639 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/7.173, allocations: 7.547 kB / 3.639 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/7.173, allocations: 0 / 3.639 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005494/7.174, allocations: 0.6534 MB / 3.639 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/7.176, allocations: 1.194 MB / 3.64 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/7.176, allocations: 0 / 3.64 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/7.176, allocations: 93.36 kB / 3.641 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/7.176, allocations: 7.406 kB / 3.641 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/7.176, allocations: 7.875 kB / 3.641 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002844/7.177, allocations: 0.5908 MB / 3.641 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/7.177, allocations: 2.906 kB / 3.641 GB, free: 301.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/7.178, allocations: 0.7918 MB / 3.642 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/7.178, allocations: 182.6 kB / 3.642 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/7.178, allocations: 11.59 kB / 3.642 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/7.179, allocations: 39.25 kB / 3.642 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/7.179, allocations: 32.86 kB / 3.642 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/7.179, allocations: 14.75 kB / 3.642 GB, free: 300.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004261/7.179, allocations: 354.1 kB / 3.643 GB, free: 300.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.179, allocations: 0 / 3.643 GB, free: 300.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001987/7.181, allocations: 479.8 kB / 3.643 GB, free: 300.5 MB / 1.167 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.003573/7.185, allocations: 3.08 MB / 3.646 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001261/7.186, allocations: 0.5862 MB / 3.647 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/7.186, allocations: 0 / 3.647 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/7.186, allocations: 190 kB / 3.647 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/7.188, allocations: 349.7 kB / 3.647 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/7.191, allocations: 1.245 MB / 3.648 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/7.191, allocations: 0.9535 MB / 3.649 GB, free: 297.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009459/7.192, allocations: 262.6 kB / 3.65 GB, free: 297.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/7.193, allocations: 205.7 kB / 3.65 GB, free: 297 MB / 1.167 GB Notification: Performance of SimCode: time 1.031e-06/7.193, allocations: 3.938 kB / 3.65 GB, free: 297 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08229/7.275, allocations: 42.43 MB / 3.691 GB, free: 281.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/7.275, allocations: 218.5 kB / 3.691 GB, free: 281.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/10.84, allocations: 0 / 3.691 GB, free: 281.5 MB / 1.167 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