Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 289.7 MB / 302.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001677, allocations: 180.7 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 92.73 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.372e-05/5.385e-05, allocations: 8 kB / 0.8663 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3122, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.039/6.352, allocations: 2.058 GB / 3.038 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/6.352, allocations: 93.45 kB / 3.038 GB, free: 138.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07852/6.431, allocations: 41.32 MB / 3.078 GB, free: 104.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.514e-06/6.431, allocations: 0 / 3.078 GB, free: 104.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.725e-05/6.431, allocations: 4 kB / 3.078 GB, free: 104.6 MB / 0.948 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.0006808/6.431, allocations: 448.2 kB / 3.078 GB, free: 104.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/6.432, allocations: 8.031 kB / 3.078 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/6.432, allocations: 46.92 kB / 3.078 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/6.432, allocations: 39.75 kB / 3.078 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/6.432, allocations: 209.8 kB / 3.079 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/6.432, allocations: 7.688 kB / 3.079 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/6.432, allocations: 7.625 kB / 3.079 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/6.432, allocations: 98.25 kB / 3.079 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/6.432, allocations: 4 kB / 3.079 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/6.432, allocations: 3.875 kB / 3.079 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/6.432, allocations: 7.891 kB / 3.079 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/6.433, allocations: 72.86 kB / 3.079 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/6.433, allocations: 466.2 kB / 3.079 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/6.434, allocations: 76.75 kB / 3.079 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/6.434, allocations: 29.17 kB / 3.079 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/6.434, allocations: 4.031 kB / 3.079 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/6.434, allocations: 34.56 kB / 3.079 GB, free: 103.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/6.434, allocations: 0 / 3.079 GB, free: 103.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000238/6.434, allocations: 84.27 kB / 3.08 GB, free: 103 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/6.434, allocations: 63.34 kB / 3.08 GB, free: 102.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/6.434, allocations: 156.2 kB / 3.08 GB, free: 102.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/6.434, allocations: 25.7 kB / 3.08 GB, free: 102.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/6.434, allocations: 115.6 kB / 3.08 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/6.434, allocations: 27.59 kB / 3.08 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/6.434, allocations: 3.25 kB / 3.08 GB, free: 102.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001017/6.434, allocations: 322.5 kB / 3.08 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/6.434, allocations: 19.56 kB / 3.08 GB, free: 102.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/6.435, allocations: 30.56 kB / 3.08 GB, free: 102.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/6.435, allocations: 23.55 kB / 3.08 GB, free: 102.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/6.435, allocations: 0.75 kB / 3.08 GB, free: 102.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001301/6.435, allocations: 87.14 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/6.435, allocations: 7.984 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/6.435, allocations: 3.828 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/6.435, allocations: 4 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/6.435, allocations: 19.98 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/6.435, allocations: 0 / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/6.435, allocations: 19.33 kB / 3.08 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/6.435, allocations: 1.406 kB / 3.08 GB, free: 102.2 MB / 0.948 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 7.364e-05/6.435, allocations: 110.6 kB / 3.081 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/6.435, allocations: 15.8 kB / 3.081 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/6.435, allocations: 97.64 kB / 3.081 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/6.435, allocations: 0 / 3.081 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/6.435, allocations: 0 / 3.081 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/6.435, allocations: 0 / 3.081 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/6.436, allocations: 235.3 kB / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/6.436, allocations: 0 / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/6.436, allocations: 23.92 kB / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/6.436, allocations: 0 / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/6.436, allocations: 4 kB / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/6.436, allocations: 0 / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/6.436, allocations: 3.984 kB / 3.081 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/6.436, allocations: 189.3 kB / 3.081 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/6.436, allocations: 88.89 kB / 3.081 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/6.436, allocations: 0 / 3.081 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/6.436, allocations: 11.98 kB / 3.081 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/6.436, allocations: 3.562 kB / 3.081 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/6.436, allocations: 4 kB / 3.081 GB, free: 101.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.902e-05/6.436, allocations: 140.8 kB / 3.081 GB, free: 101.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.436, allocations: 1.031 kB / 3.081 GB, free: 101.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003846/6.437, allocations: 61.7 kB / 3.081 GB, free: 101.2 MB / 0.948 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.001002/6.438, allocations: 1.173 MB / 3.083 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001532/6.438, allocations: 58.84 kB / 3.083 GB, free: 100 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/6.438, allocations: 7.938 kB / 3.083 GB, free: 100 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/6.438, allocations: 23.44 kB / 3.083 GB, free: 100 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/6.438, allocations: 35.67 kB / 3.083 GB, free: 99.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/6.439, allocations: 197.9 kB / 3.083 GB, free: 99.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/6.439, allocations: 0.7121 MB / 3.084 GB, free: 99.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.509e-05/6.439, allocations: 16.86 kB / 3.084 GB, free: 99.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/6.439, allocations: 38.05 kB / 3.084 GB, free: 98.99 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/6.439, allocations: 0 / 3.084 GB, free: 98.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/6.466, allocations: 13.55 MB / 3.097 GB, free: 85.54 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/6.466, allocations: 169.7 kB / 3.097 GB, free: 85.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/8.784, allocations: 0 / 3.097 GB, free: 85.32 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)