Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.943/1.943, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.001059/0.001059, allocations: 183 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009148/0.0009147, allocations: 94.3 kB / 0.744 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 13.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2606, allocations: 115.3 MB / 0.9796 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8454/1.106, allocations: 135.1 MB / 1.112 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001915/1.108, allocations: 1.047 MB / 1.113 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/1.108, allocations: 2.281 kB / 1.113 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/1.109, allocations: 38.7 kB / 1.113 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000789/1.109, allocations: 198.5 kB / 1.113 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/1.11, allocations: 142.3 kB / 1.113 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005429/1.11, allocations: 212.2 kB / 1.113 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/1.11, allocations: 53.38 kB / 1.113 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/1.111, allocations: 37.06 kB / 1.113 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/1.111, allocations: 51.2 kB / 1.113 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/1.111, allocations: 3.625 kB / 1.113 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/1.111, allocations: 283.8 kB / 1.114 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/1.111, allocations: 18.12 kB / 1.114 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/1.112, allocations: 46.92 kB / 1.114 GB, free: 18.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/1.112, allocations: 197.6 kB / 1.114 GB, free: 18.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.112, allocations: 0 / 1.114 GB, free: 18.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/1.112, allocations: 3.125 kB / 1.114 GB, free: 18.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.661e-06/1.112, allocations: 4 kB / 1.114 GB, free: 18.31 MB / 0.698 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.0008093/1.113, allocations: 449.2 kB / 1.114 GB, free: 17.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.113, allocations: 13.61 kB / 1.114 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/1.113, allocations: 42.19 kB / 1.114 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/1.113, allocations: 44.5 kB / 1.114 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/1.114, allocations: 207.4 kB / 1.115 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.114, allocations: 7.375 kB / 1.115 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/1.114, allocations: 10.31 kB / 1.115 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/1.114, allocations: 120.1 kB / 1.115 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.114, allocations: 0 / 1.115 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.114, allocations: 11.48 kB / 1.115 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.114, allocations: 6.688 kB / 1.115 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/1.114, allocations: 102.3 kB / 1.115 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/1.115, allocations: 453.9 kB / 1.115 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/1.116, allocations: 91.17 kB / 1.115 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/1.116, allocations: 52.61 kB / 1.115 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/1.116, allocations: 1.5 kB / 1.115 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.116, allocations: 36.62 kB / 1.115 GB, free: 17.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.116, allocations: 0 / 1.115 GB, free: 17.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006097/1.117, allocations: 162 kB / 1.116 GB, free: 17.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.117, allocations: 55.97 kB / 1.116 GB, free: 17.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/1.117, allocations: 180.2 kB / 1.116 GB, free: 17.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/1.117, allocations: 30.56 kB / 1.116 GB, free: 16.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.117, allocations: 118 kB / 1.116 GB, free: 16.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/1.117, allocations: 20.33 kB / 1.116 GB, free: 16.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/1.117, allocations: 0 / 1.116 GB, free: 16.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.117, allocations: 328.3 kB / 1.116 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.117, allocations: 35.52 kB / 1.116 GB, free: 16.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/1.118, allocations: 40.95 kB / 1.116 GB, free: 16.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.118, allocations: 45.67 kB / 1.116 GB, free: 16.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.118, allocations: 1.375 kB / 1.116 GB, free: 16.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003612/1.118, allocations: 125.8 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.118, allocations: 5.578 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.118, allocations: 0.9375 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.118, allocations: 0 / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/1.118, allocations: 22.78 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.118, allocations: 4.984 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/1.119, allocations: 20.36 kB / 1.117 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/1.119, allocations: 2.188 kB / 1.117 GB, free: 16.49 MB / 0.698 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 0.0001333/1.119, allocations: 132.5 kB / 1.117 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/1.119, allocations: 10.14 kB / 1.117 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/1.119, allocations: 137.4 kB / 1.117 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/1.119, allocations: 4 kB / 1.117 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.119, allocations: 1.25 kB / 1.117 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.119, allocations: 4.703 kB / 1.117 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/1.12, allocations: 219.3 kB / 1.117 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.12, allocations: 0 / 1.117 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.12, allocations: 19.23 kB / 1.117 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/1.12, allocations: 0.5625 kB / 1.117 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/1.12, allocations: 1.438 kB / 1.117 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.12, allocations: 4.5 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.12, allocations: 5.719 kB / 1.117 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/1.12, allocations: 216.8 kB / 1.117 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/1.12, allocations: 98.06 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/1.12, allocations: 1.641 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/1.12, allocations: 13.16 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1.12, allocations: 9.953 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/1.12, allocations: 1.031 kB / 1.117 GB, free: 15.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001752/1.121, allocations: 132.8 kB / 1.118 GB, free: 15.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.121, allocations: 1.5 kB / 1.118 GB, free: 15.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002537/1.121, allocations: 21.56 kB / 1.118 GB, free: 15.8 MB / 0.698 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.0009959/1.122, allocations: 0.7608 MB / 1.118 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003756/1.122, allocations: 89.23 kB / 1.118 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.122, allocations: 0 / 1.118 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/1.122, allocations: 50.83 kB / 1.118 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/1.123, allocations: 32.5 kB / 1.118 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/1.125, allocations: 0.8488 MB / 1.119 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/1.125, allocations: 0.7123 MB / 1.12 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.824e-05/1.126, allocations: 10.08 kB / 1.12 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/1.126, allocations: 38.52 kB / 1.12 GB, free: 13.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.126, allocations: 0 / 1.12 GB, free: 13.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/1.143, allocations: 2.889 MB / 1.123 GB, free: 13.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.144, allocations: 214.1 kB / 1.123 GB, free: 13.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.879, allocations: 0 / 1.123 GB, free: 13.49 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)