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.284/2.284, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001531/0.001531, allocations: 179.5 kB / 0.4901 GB, free: 2.242 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.64/1.64, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001023/0.001023, allocations: 96.27 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 10.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4151, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.928/6.343, allocations: 1.93 GB / 3.159 GB, free: 22.46 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/6.344, allocations: 95.77 kB / 3.159 GB, free: 22.41 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.014/8.357, allocations: 489.8 MB / 3.638 GB, free: 1.824 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/8.357, allocations: 0 / 3.638 GB, free: 1.824 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.495e-05/8.357, allocations: 23.98 kB / 3.638 GB, free: 1.801 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.002894/8.36, allocations: 1.099 MB / 3.639 GB, free: 0.6523 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/8.36, allocations: 8.828 kB / 3.639 GB, free: 0.6445 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/8.361, allocations: 102.5 kB / 3.639 GB, free: 0.5352 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/8.362, allocations: 199.2 kB / 3.639 GB, free: 348 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7729/9.135, allocations: 0.9064 MB / 3.64 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/9.135, allocations: 47.73 kB / 3.64 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/9.135, allocations: 54.25 kB / 3.64 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/9.136, allocations: 0.5938 MB / 3.641 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/9.136, allocations: 0.8125 kB / 3.641 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/9.137, allocations: 24.95 kB / 3.641 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/9.137, allocations: 19.09 kB / 3.641 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/9.137, allocations: 475.4 kB / 3.641 GB, free: 306 MB / 1.167 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.003369/9.141, allocations: 2.413 MB / 3.643 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/9.141, allocations: 332.5 kB / 3.644 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/9.142, allocations: 304.2 kB / 3.644 GB, free: 304.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/9.142, allocations: 38.55 kB / 3.644 GB, free: 304.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/9.142, allocations: 0 / 3.644 GB, free: 304.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001259/9.143, allocations: 0.5382 MB / 3.645 GB, free: 304.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/9.143, allocations: 60.73 kB / 3.645 GB, free: 304.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/9.144, allocations: 442.4 kB / 3.645 GB, free: 304.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/9.144, allocations: 39.05 kB / 3.645 GB, free: 304.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/9.144, allocations: 317.1 kB / 3.645 GB, free: 304 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/9.144, allocations: 130.7 kB / 3.645 GB, free: 304 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/9.144, allocations: 10.03 kB / 3.645 GB, free: 304 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001368/9.144, allocations: 367 kB / 3.646 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/9.145, allocations: 140.3 kB / 3.646 GB, free: 303.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/9.145, allocations: 276.9 kB / 3.646 GB, free: 303.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/9.145, allocations: 184.1 kB / 3.646 GB, free: 303.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/9.145, allocations: 2.906 kB / 3.646 GB, free: 303.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008357/9.146, allocations: 485.1 kB / 3.647 GB, free: 303.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/9.146, allocations: 0.8811 MB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/9.147, allocations: 2.562 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/9.147, allocations: 7.25 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/9.147, allocations: 93.52 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/9.147, allocations: 0.5994 MB / 3.648 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/9.148, allocations: 85.41 kB / 3.648 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/9.148, allocations: 19.17 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.148, allocations: 3.531 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006881/9.149, allocations: 394.4 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/9.149, allocations: 5.875 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/9.149, allocations: 6.031 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/9.149, allocations: 84.31 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/9.149, allocations: 9.125 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/9.15, allocations: 72.62 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/9.15, allocations: 21.17 kB / 3.649 GB, free: 301.9 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 () * 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.0004763/9.151, allocations: 307.5 kB / 3.649 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/9.151, allocations: 60.16 kB / 3.649 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/9.151, allocations: 449.1 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/9.152, allocations: 3.953 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/9.152, allocations: 1 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006195/9.152, allocations: 0.6522 MB / 3.651 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/9.154, allocations: 1.203 MB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/9.154, allocations: 5.812 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/9.155, allocations: 93.91 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/9.155, allocations: 2.906 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/9.155, allocations: 13.53 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002923/9.155, allocations: 0.5912 MB / 3.652 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/9.155, allocations: 3.672 kB / 3.652 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/9.157, allocations: 0.7862 MB / 3.653 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/9.157, allocations: 180.7 kB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/9.157, allocations: 8.984 kB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/9.158, allocations: 49.77 kB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/9.158, allocations: 23.25 kB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/9.158, allocations: 19.48 kB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005251/9.158, allocations: 356.5 kB / 3.654 GB, free: 299.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/9.158, allocations: 0 / 3.654 GB, free: 299.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001862/9.16, allocations: 481.8 kB / 3.654 GB, free: 299.7 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 () * 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.003988/9.164, allocations: 3.084 MB / 3.657 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001507/9.166, allocations: 0.578 MB / 3.658 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/9.166, allocations: 1.094 kB / 3.658 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/9.166, allocations: 187.5 kB / 3.658 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/9.168, allocations: 354.5 kB / 3.658 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/9.175, allocations: 5.047 MB / 3.663 GB, free: 295.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/9.176, allocations: 0.9575 MB / 3.664 GB, free: 294.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009898/9.177, allocations: 212 kB / 3.664 GB, free: 294.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/9.177, allocations: 217.1 kB / 3.665 GB, free: 294.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/9.177, allocations: 3.406 kB / 3.665 GB, free: 294.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07944/9.256, allocations: 37.98 MB / 3.702 GB, free: 294.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/9.257, allocations: 238.9 kB / 3.702 GB, free: 294.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/12.41, allocations: 1.938 kB / 3.702 GB, free: 294.1 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