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.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001115/0.001115, allocations: 178.9 kB / 498.1 MB, free: 5.746 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.525/1.525, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009979/0.0009979, allocations: 98.56 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 10.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2888, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.88/4.169, allocations: 1.929 GB / 3.152 GB, free: 23.41 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/4.169, allocations: 95.94 kB / 3.152 GB, free: 23.31 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.288/6.457, allocations: 489.8 MB / 3.63 GB, free: 301.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/6.457, allocations: 0 / 3.63 GB, free: 301.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.847e-05/6.457, allocations: 20.39 kB / 3.63 GB, free: 301.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.00275/6.46, allocations: 1.099 MB / 3.632 GB, free: 301.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/6.46, allocations: 9.312 kB / 3.632 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/6.46, allocations: 100.4 kB / 3.632 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/6.462, allocations: 204.7 kB / 3.632 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/6.464, allocations: 0.9172 MB / 3.633 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/6.464, allocations: 42.94 kB / 3.633 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/6.464, allocations: 56.31 kB / 3.633 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/6.465, allocations: 0.5939 MB / 3.633 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/6.465, allocations: 0.9688 kB / 3.633 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/6.465, allocations: 24.34 kB / 3.633 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/6.465, allocations: 29.39 kB / 3.633 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/6.466, allocations: 476.9 kB / 3.634 GB, free: 300.8 MB / 1.151 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.003214/6.469, allocations: 2.395 MB / 3.636 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/6.47, allocations: 329.2 kB / 3.637 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005384/6.471, allocations: 306.8 kB / 3.637 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/6.471, allocations: 39.64 kB / 3.637 GB, free: 299.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/6.471, allocations: 4 kB / 3.637 GB, free: 299.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001242/6.472, allocations: 0.5449 MB / 3.637 GB, free: 299.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/6.472, allocations: 55.12 kB / 3.637 GB, free: 299.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/6.472, allocations: 442.3 kB / 3.638 GB, free: 299 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/6.472, allocations: 36.36 kB / 3.638 GB, free: 298.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/6.473, allocations: 315.5 kB / 3.638 GB, free: 298.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/6.473, allocations: 135.2 kB / 3.638 GB, free: 298.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/6.473, allocations: 9 kB / 3.638 GB, free: 298.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001053/6.473, allocations: 366.1 kB / 3.639 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/6.473, allocations: 136.7 kB / 3.639 GB, free: 298.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/6.474, allocations: 278.9 kB / 3.639 GB, free: 298.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/6.474, allocations: 186.7 kB / 3.639 GB, free: 298.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/6.474, allocations: 1.031 kB / 3.639 GB, free: 298.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007757/6.475, allocations: 480.9 kB / 3.64 GB, free: 298.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/6.475, allocations: 0.8817 MB / 3.641 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/6.475, allocations: 4.297 kB / 3.641 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/6.475, allocations: 7.375 kB / 3.641 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/6.476, allocations: 97.12 kB / 3.641 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003385/6.476, allocations: 0.5964 MB / 3.641 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/6.477, allocations: 80.81 kB / 3.641 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/6.477, allocations: 21.84 kB / 3.641 GB, free: 296.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/6.477, allocations: 3.188 kB / 3.641 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007085/6.477, allocations: 405.3 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/6.477, allocations: 2.781 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/6.477, allocations: 4.25 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/6.478, allocations: 89.47 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/6.478, allocations: 4.094 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/6.478, allocations: 79.95 kB / 3.642 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/6.479, allocations: 17.28 kB / 3.642 GB, free: 296.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 () * 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.0004681/6.479, allocations: 307.2 kB / 3.642 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/6.479, allocations: 60.16 kB / 3.642 GB, free: 296.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/6.48, allocations: 444 kB / 3.643 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/6.48, allocations: 3.719 kB / 3.643 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/6.48, allocations: 3.812 kB / 3.643 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000475/6.48, allocations: 0.6507 MB / 3.643 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/6.482, allocations: 1.209 MB / 3.645 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/6.482, allocations: 2.094 kB / 3.645 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/6.483, allocations: 92.56 kB / 3.645 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/6.483, allocations: 3.781 kB / 3.645 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/6.483, allocations: 16.23 kB / 3.645 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002162/6.483, allocations: 0.5938 MB / 3.645 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/6.483, allocations: 1.594 kB / 3.645 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/6.484, allocations: 0.7898 MB / 3.646 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/6.484, allocations: 178.7 kB / 3.646 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/6.484, allocations: 13.97 kB / 3.646 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/6.485, allocations: 38.91 kB / 3.646 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/6.485, allocations: 29.64 kB / 3.646 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/6.485, allocations: 18.28 kB / 3.646 GB, free: 294.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004259/6.485, allocations: 353.9 kB / 3.647 GB, free: 294.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/6.485, allocations: 2.969 kB / 3.647 GB, free: 294.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001534/6.487, allocations: 484.7 kB / 3.647 GB, free: 294.4 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 () * 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.002865/6.49, allocations: 3.093 MB / 3.65 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001078/6.491, allocations: 0.5632 MB / 3.651 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/6.491, allocations: 0 / 3.651 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/6.491, allocations: 192.3 kB / 3.651 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/6.493, allocations: 354.8 kB / 3.651 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/6.498, allocations: 5.044 MB / 3.656 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/6.498, allocations: 0.9507 MB / 3.657 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007779/6.499, allocations: 209.2 kB / 3.657 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/6.499, allocations: 223.1 kB / 3.657 GB, free: 289.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.272e-06/6.499, allocations: 3.75 kB / 3.657 GB, free: 289.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06584/6.565, allocations: 37.96 MB / 3.695 GB, free: 289.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/6.565, allocations: 235.4 kB / 3.695 GB, free: 288.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/9.821, allocations: 6.719 kB / 3.695 GB, free: 288.9 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