Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.452/2.452, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001214/0.001214, allocations: 179.4 kB / 0.4901 GB, free: 2.207 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.851/1.851, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001125/0.001124, allocations: 92.33 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 11.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.216, allocations: 1.712 GB / 2.941 GB, free: 235.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/5.216, allocations: 91.12 kB / 2.941 GB, free: 235.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.07637/5.293, allocations: 40.43 MB / 2.981 GB, free: 201.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.214e-06/5.293, allocations: 4 kB / 2.981 GB, free: 201.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.407e-05/5.293, allocations: 0 / 2.981 GB, free: 201.2 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.000656/5.293, allocations: 478.7 kB / 2.981 GB, free: 200.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/5.294, allocations: 8.562 kB / 2.981 GB, free: 200.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/5.294, allocations: 46.3 kB / 2.981 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/5.294, allocations: 31.8 kB / 2.981 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/5.294, allocations: 210.4 kB / 2.981 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/5.294, allocations: 7.938 kB / 2.981 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/5.294, allocations: 11.94 kB / 2.981 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/5.294, allocations: 134.1 kB / 2.982 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/5.294, allocations: 0 / 2.982 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/5.294, allocations: 3.75 kB / 2.982 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/5.294, allocations: 4 kB / 2.982 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/5.295, allocations: 102.5 kB / 2.982 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/5.295, allocations: 459.4 kB / 2.982 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/5.296, allocations: 93.42 kB / 2.982 GB, free: 199.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/5.296, allocations: 4 kB / 2.982 GB, free: 199.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/5.296, allocations: 34.72 kB / 2.982 GB, free: 199.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/5.296, allocations: 4 kB / 2.982 GB, free: 199.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=7): time 0.0004343/5.296, allocations: 160.3 kB / 2.982 GB, free: 199.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/5.296, allocations: 51.41 kB / 2.982 GB, free: 199.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/5.296, allocations: 167.2 kB / 2.983 GB, free: 199.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/5.296, allocations: 25.7 kB / 2.983 GB, free: 199.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/5.296, allocations: 119.2 kB / 2.983 GB, free: 199.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/5.296, allocations: 27.55 kB / 2.983 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/5.296, allocations: 3.5 kB / 2.983 GB, free: 199.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/5.297, allocations: 322.7 kB / 2.983 GB, free: 198.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/5.297, allocations: 43.73 kB / 2.983 GB, free: 198.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/5.297, allocations: 35.47 kB / 2.983 GB, free: 198.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/5.297, allocations: 43.17 kB / 2.983 GB, free: 198.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/5.297, allocations: 0 / 2.983 GB, free: 198.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002437/5.297, allocations: 129 kB / 2.983 GB, free: 198.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/5.297, allocations: 10.03 kB / 2.983 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/5.297, allocations: 0 / 2.983 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/5.297, allocations: 0 / 2.983 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/5.297, allocations: 23.94 kB / 2.983 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/5.297, allocations: 3.984 kB / 2.983 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/5.297, allocations: 19.84 kB / 2.983 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/5.297, allocations: 80 / 2.983 GB, free: 198.5 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 9.828e-05/5.298, allocations: 122.2 kB / 2.984 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/5.298, allocations: 11.89 kB / 2.984 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/5.298, allocations: 138 kB / 2.984 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/5.298, allocations: 0 / 2.984 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/5.298, allocations: 3.953 kB / 2.984 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/5.298, allocations: 0 / 2.984 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/5.298, allocations: 232.2 kB / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/5.298, allocations: 0 / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/5.298, allocations: 23.92 kB / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/5.298, allocations: 4 kB / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/5.298, allocations: 4 kB / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/5.298, allocations: 0 / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/5.298, allocations: 0 / 2.984 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/5.299, allocations: 218.5 kB / 2.984 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/5.299, allocations: 92.91 kB / 2.984 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/5.299, allocations: 3.938 kB / 2.984 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/5.299, allocations: 8 kB / 2.984 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/5.299, allocations: 3.984 kB / 2.984 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/5.299, allocations: 4 kB / 2.984 GB, free: 197.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 8.958e-05/5.299, allocations: 138.5 kB / 2.984 GB, free: 197.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.502e-06/5.299, allocations: 0 / 2.984 GB, free: 197.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003731/5.299, allocations: 63.5 kB / 2.984 GB, free: 197.5 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.001131/5.301, allocations: 1.215 MB / 2.986 GB, free: 196.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002595/5.301, allocations: 91.53 kB / 2.986 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.301, allocations: 0 / 2.986 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/5.301, allocations: 47.36 kB / 2.986 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/5.301, allocations: 27.66 kB / 2.986 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/5.303, allocations: 0.854 MB / 2.987 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/5.303, allocations: 0.716 MB / 2.987 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001198/5.303, allocations: 16.86 kB / 2.987 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/5.303, allocations: 41.8 kB / 2.987 GB, free: 194.6 MB / 1.167 GB Notification: Performance of SimCode: time 4e-07/5.303, allocations: 0 / 2.987 GB, free: 194.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/5.332, allocations: 11.88 MB / 2.999 GB, free: 182.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/5.332, allocations: 199.3 kB / 2.999 GB, free: 182.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/7.482, allocations: 4 kB / 2.999 GB, free: 182.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat does not exist to compare? outputFormat=mat