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.296/2.296, allocations: 390.5 MB / 398 MB, free: 10.99 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.001049/0.001049, allocations: 175.8 kB / 491.2 MB, free: 1.605 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.74/1.74, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001125, allocations: 95.86 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.376e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.156, allocations: 1.711 GB / 2.924 GB, free: 126.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/5.156, allocations: 89.78 kB / 2.924 GB, free: 126.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.07573/5.232, allocations: 39.71 MB / 2.962 GB, free: 93.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/5.232, allocations: 3.938 kB / 2.962 GB, free: 93.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.658e-05/5.232, allocations: 0 / 2.962 GB, free: 93.55 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005945/5.233, allocations: 456.8 kB / 2.963 GB, free: 93.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/5.233, allocations: 8.031 kB / 2.963 GB, free: 93.06 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/5.233, allocations: 42.34 kB / 2.963 GB, free: 93.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/5.233, allocations: 200.2 kB / 2.963 GB, free: 92.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/5.233, allocations: 4 kB / 2.963 GB, free: 92.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/5.233, allocations: 8 kB / 2.963 GB, free: 92.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/5.233, allocations: 63.73 kB / 2.963 GB, free: 92.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/5.234, allocations: 94.59 kB / 2.963 GB, free: 92.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/5.234, allocations: 0 / 2.963 GB, free: 92.66 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/5.234, allocations: 0 / 2.963 GB, free: 92.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/5.234, allocations: 4 kB / 2.963 GB, free: 92.66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/5.234, allocations: 413.1 kB / 2.964 GB, free: 92.28 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/5.234, allocations: 80.19 kB / 2.964 GB, free: 92.21 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/5.234, allocations: 25.48 kB / 2.964 GB, free: 92.19 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/5.234, allocations: 0 / 2.964 GB, free: 92.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/5.234, allocations: 34.56 kB / 2.964 GB, free: 92.15 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/5.234, allocations: 3.938 kB / 2.964 GB, free: 92.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=7): time 0.0002031/5.235, allocations: 80.09 kB / 2.964 GB, free: 92.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/5.235, allocations: 56.66 kB / 2.964 GB, free: 92.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/5.235, allocations: 135.4 kB / 2.964 GB, free: 91.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/5.235, allocations: 25.7 kB / 2.964 GB, free: 91.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/5.235, allocations: 121.7 kB / 2.964 GB, free: 91.74 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/5.235, allocations: 22.22 kB / 2.964 GB, free: 91.72 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/5.235, allocations: 0 / 2.964 GB, free: 91.72 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/5.235, allocations: 320.1 kB / 2.965 GB, free: 91.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/5.235, allocations: 19.25 kB / 2.965 GB, free: 91.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/5.235, allocations: 17.44 kB / 2.965 GB, free: 91.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/5.235, allocations: 27.36 kB / 2.965 GB, free: 91.36 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/5.235, allocations: 4 kB / 2.965 GB, free: 91.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/5.235, allocations: 82.69 kB / 2.965 GB, free: 91.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/5.235, allocations: 7.984 kB / 2.965 GB, free: 91.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/5.235, allocations: 4 kB / 2.965 GB, free: 91.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/5.235, allocations: 0 / 2.965 GB, free: 91.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/5.235, allocations: 19.98 kB / 2.965 GB, free: 91.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/5.235, allocations: 0 / 2.965 GB, free: 91.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/5.236, allocations: 15.94 kB / 2.965 GB, free: 91.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/5.236, allocations: 6.5 kB / 2.965 GB, free: 91.24 MB / 1.151 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 () * 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 6.454e-05/5.236, allocations: 105.8 kB / 2.965 GB, free: 91.13 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001361/5.236, allocations: 88 kB / 2.965 GB, free: 91.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/5.236, allocations: 7.906 kB / 2.965 GB, free: 91.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/5.236, allocations: 99.84 kB / 2.965 GB, free: 90.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/5.236, allocations: 3.953 kB / 2.965 GB, free: 90.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/5.236, allocations: 0 / 2.965 GB, free: 90.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/5.236, allocations: 0 / 2.965 GB, free: 90.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/5.236, allocations: 193.8 kB / 2.965 GB, free: 90.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/5.236, allocations: 0 / 2.965 GB, free: 90.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/5.236, allocations: 23.92 kB / 2.965 GB, free: 90.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/5.236, allocations: 0 / 2.965 GB, free: 90.73 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/5.236, allocations: 0 / 2.965 GB, free: 90.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/5.236, allocations: 0 / 2.965 GB, free: 90.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/5.236, allocations: 0 / 2.965 GB, free: 90.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/5.237, allocations: 183.2 kB / 2.965 GB, free: 90.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/5.237, allocations: 93 kB / 2.965 GB, free: 90.44 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/5.237, allocations: 0 / 2.965 GB, free: 90.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/5.237, allocations: 8 kB / 2.965 GB, free: 90.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/5.237, allocations: 3.984 kB / 2.966 GB, free: 90.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/5.237, allocations: 4 kB / 2.966 GB, free: 90.43 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.564e-05/5.237, allocations: 111.4 kB / 2.966 GB, free: 90.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.237, allocations: 0 / 2.966 GB, free: 90.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003143/5.237, allocations: 58.78 kB / 2.966 GB, free: 90.29 MB / 1.151 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 () * 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.0009599/5.238, allocations: 1.258 MB / 2.967 GB, free: 89.04 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001211/5.238, allocations: 49.67 kB / 2.967 GB, free: 89.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/5.238, allocations: 0 / 2.967 GB, free: 89.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/5.238, allocations: 27.44 kB / 2.967 GB, free: 88.99 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/5.239, allocations: 29.33 kB / 2.967 GB, free: 88.97 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/5.239, allocations: 184.7 kB / 2.967 GB, free: 88.76 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/5.239, allocations: 0.7119 MB / 2.968 GB, free: 88.02 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 8.509e-05/5.239, allocations: 12.41 kB / 2.968 GB, free: 88.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/5.24, allocations: 33.98 kB / 2.968 GB, free: 88 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.24, allocations: 0 / 2.968 GB, free: 88 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/5.267, allocations: 6.602 MB / 2.974 GB, free: 81.41 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/5.267, allocations: 161 kB / 2.975 GB, free: 81.22 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/7.246, allocations: 3.938 kB / 2.975 GB, free: 81.21 MB / 1.151 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