Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001213/0.001214, allocations: 170.2 kB / 498.1 MB, free: 5.734 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.66/1.66, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001219/0.001219, allocations: 94.77 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004061, allocations: 13.61 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.493/4.83, allocations: 1.711 GB / 2.934 GB, free: 307.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/4.831, allocations: 95.94 kB / 2.934 GB, free: 307.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.07426/4.905, allocations: 40.43 MB / 2.974 GB, free: 266.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.553e-06/4.905, allocations: 0 / 2.974 GB, free: 266.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.004e-05/4.905, allocations: 4 kB / 2.974 GB, free: 266.3 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005922/4.906, allocations: 475.5 kB / 2.974 GB, free: 265.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/4.906, allocations: 11.97 kB / 2.974 GB, free: 265.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/4.906, allocations: 50.55 kB / 2.974 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/4.906, allocations: 31.88 kB / 2.974 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/4.906, allocations: 203.9 kB / 2.974 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/4.906, allocations: 8 kB / 2.974 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/4.906, allocations: 12 kB / 2.974 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/4.907, allocations: 125.5 kB / 2.974 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/4.907, allocations: 0 / 2.974 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/4.907, allocations: 0 / 2.974 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/4.907, allocations: 4 kB / 2.974 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/4.907, allocations: 99.94 kB / 2.975 GB, free: 265.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/4.907, allocations: 472.1 kB / 2.975 GB, free: 264.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/4.908, allocations: 98.48 kB / 2.975 GB, free: 264.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/4.908, allocations: 4.047 kB / 2.975 GB, free: 264.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/4.908, allocations: 34.55 kB / 2.975 GB, free: 264.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/4.908, allocations: 0 / 2.975 GB, free: 264.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=7): time 0.0004204/4.908, allocations: 157.7 kB / 2.975 GB, free: 264.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/4.908, allocations: 51.41 kB / 2.975 GB, free: 264.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/4.908, allocations: 170.5 kB / 2.976 GB, free: 264.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/4.908, allocations: 25.7 kB / 2.976 GB, free: 264.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/4.908, allocations: 127.9 kB / 2.976 GB, free: 264 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/4.908, allocations: 23.64 kB / 2.976 GB, free: 263.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/4.908, allocations: 4 kB / 2.976 GB, free: 263.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/4.909, allocations: 322.8 kB / 2.976 GB, free: 263.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/4.909, allocations: 39.97 kB / 2.976 GB, free: 263.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/4.909, allocations: 35.98 kB / 2.976 GB, free: 263.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/4.909, allocations: 39.98 kB / 2.976 GB, free: 263.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/4.909, allocations: 0 / 2.976 GB, free: 263.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002379/4.909, allocations: 125.5 kB / 2.976 GB, free: 263.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/4.909, allocations: 8 kB / 2.976 GB, free: 263.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/4.909, allocations: 0 / 2.976 GB, free: 263.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/4.909, allocations: 0 / 2.976 GB, free: 263.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/4.909, allocations: 27.88 kB / 2.976 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/4.909, allocations: 3.938 kB / 2.976 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/4.909, allocations: 15.84 kB / 2.976 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/4.909, allocations: 8 kB / 2.976 GB, free: 263.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/4.91, allocations: 121.8 kB / 2.976 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/4.91, allocations: 11.91 kB / 2.976 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/4.91, allocations: 135.5 kB / 2.977 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/4.91, allocations: 4 kB / 2.977 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/4.91, allocations: 7.938 kB / 2.977 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/4.91, allocations: 3.938 kB / 2.977 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/4.91, allocations: 217.5 kB / 2.977 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/4.91, allocations: 0 / 2.977 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/4.91, allocations: 23.98 kB / 2.977 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/4.91, allocations: 0 / 2.977 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/4.91, allocations: 4 kB / 2.977 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/4.91, allocations: 4 kB / 2.977 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/4.91, allocations: 4.078 kB / 2.977 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/4.911, allocations: 215.4 kB / 2.977 GB, free: 262.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/4.911, allocations: 96.91 kB / 2.977 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/4.911, allocations: 4 kB / 2.977 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/4.911, allocations: 7.984 kB / 2.977 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/4.911, allocations: 7.938 kB / 2.977 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/4.911, allocations: 4 kB / 2.977 GB, free: 262.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 8.631e-05/4.911, allocations: 135.2 kB / 2.977 GB, free: 262.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/4.911, allocations: 0 / 2.977 GB, free: 262.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003668/4.911, allocations: 55.94 kB / 2.977 GB, free: 262.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009423/4.912, allocations: 1.212 MB / 2.978 GB, free: 260.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000245/4.912, allocations: 87.89 kB / 2.979 GB, free: 260.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/4.912, allocations: 3.938 kB / 2.979 GB, free: 260.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/4.913, allocations: 47.97 kB / 2.979 GB, free: 260.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/4.913, allocations: 24.45 kB / 2.979 GB, free: 260.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/4.914, allocations: 0.8546 MB / 2.979 GB, free: 259.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/4.914, allocations: 0.7121 MB / 2.98 GB, free: 259.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 7.428e-05/4.914, allocations: 12.86 kB / 2.98 GB, free: 259.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/4.914, allocations: 39.42 kB / 2.98 GB, free: 259.1 MB / 1.167 GB Notification: Performance of SimCode: time 2e-07/4.914, allocations: 0 / 2.98 GB, free: 259.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/4.935, allocations: 11.88 MB / 2.992 GB, free: 247.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/4.936, allocations: 200.8 kB / 2.992 GB, free: 247.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/7.023, allocations: 0 / 2.992 GB, free: 247.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat does not exist to compare? outputFormat=mat