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.617/1.617, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.00102/0.00102, allocations: 183.9 kB / 372.3 MB, free: 10.11 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.637/1.637, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.001069/0.00107, allocations: 98.28 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 13.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2424, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8123/1.055, allocations: 135.1 MB / 1.112 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001454/1.056, allocations: 1.053 MB / 1.113 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/1.056, allocations: 6.281 kB / 1.113 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003386/1.057, allocations: 45.7 kB / 1.113 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007851/1.058, allocations: 259.5 kB / 1.113 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/1.058, allocations: 142.9 kB / 1.114 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/1.058, allocations: 218.6 kB / 1.114 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/1.059, allocations: 47.62 kB / 1.114 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/1.059, allocations: 39.97 kB / 1.114 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/1.059, allocations: 45.17 kB / 1.114 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/1.059, allocations: 3.656 kB / 1.114 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/1.06, allocations: 403.8 kB / 1.114 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/1.06, allocations: 21.44 kB / 1.114 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/1.06, allocations: 71.3 kB / 1.114 GB, free: 18.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/1.06, allocations: 201.3 kB / 1.115 GB, free: 18.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.06, allocations: 1.094 kB / 1.115 GB, free: 18.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.06, allocations: 0 / 1.115 GB, free: 18.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.06, allocations: 0 / 1.115 GB, free: 18.45 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.0007144/1.061, allocations: 445.4 kB / 1.115 GB, free: 18.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.061, allocations: 11.27 kB / 1.115 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/1.061, allocations: 48.94 kB / 1.115 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/1.061, allocations: 40.58 kB / 1.115 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.062, allocations: 216.9 kB / 1.115 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.062, allocations: 6.75 kB / 1.115 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/1.062, allocations: 9.719 kB / 1.115 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/1.062, allocations: 127 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.062, allocations: 0 / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.062, allocations: 8.672 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.062, allocations: 1.375 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/1.062, allocations: 105 kB / 1.116 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/1.063, allocations: 458.3 kB / 1.116 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/1.063, allocations: 96.98 kB / 1.116 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.064, allocations: 41.58 kB / 1.116 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/1.064, allocations: 3.703 kB / 1.116 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.064, allocations: 39.3 kB / 1.116 GB, free: 17.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.064, allocations: 0 / 1.116 GB, free: 17.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005152/1.064, allocations: 157.6 kB / 1.116 GB, free: 17.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.064, allocations: 57.31 kB / 1.116 GB, free: 17.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/1.064, allocations: 183 kB / 1.117 GB, free: 17.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.064, allocations: 25.7 kB / 1.117 GB, free: 17.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/1.065, allocations: 115.7 kB / 1.117 GB, free: 17.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/1.065, allocations: 18.53 kB / 1.117 GB, free: 17.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.065, allocations: 3.562 kB / 1.117 GB, free: 17.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.065, allocations: 327.6 kB / 1.117 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/1.065, allocations: 38.69 kB / 1.117 GB, free: 16.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/1.065, allocations: 41.2 kB / 1.117 GB, free: 16.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/1.065, allocations: 85.2 kB / 1.117 GB, free: 16.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.065, allocations: 4 kB / 1.117 GB, free: 16.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000293/1.066, allocations: 127.8 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.066, allocations: 6.344 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.066, allocations: 0.5625 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.066, allocations: 2.922 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.066, allocations: 23.64 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.066, allocations: 0.9688 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/1.066, allocations: 18.19 kB / 1.117 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.066, allocations: 3.047 kB / 1.117 GB, free: 16.62 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.0001123/1.066, allocations: 127.6 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/1.066, allocations: 15.77 kB / 1.118 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/1.066, allocations: 135.6 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.066, allocations: 2.094 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.066, allocations: 0 / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.066, allocations: 1.266 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/1.067, allocations: 220.2 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.067, allocations: 5 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.067, allocations: 26.38 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.067, allocations: 0.5625 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.067, allocations: 3.844 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.067, allocations: 3.516 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.067, allocations: 0.625 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/1.067, allocations: 224.9 kB / 1.118 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.067, allocations: 91.61 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/1.067, allocations: 2.797 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.067, allocations: 10.45 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.068, allocations: 5.875 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/1.068, allocations: 1.344 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001369/1.068, allocations: 138.3 kB / 1.118 GB, free: 15.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.232e-06/1.068, allocations: 0 / 1.118 GB, free: 15.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002461/1.068, allocations: 31.47 kB / 1.118 GB, free: 15.91 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.0007228/1.069, allocations: 0.7543 MB / 1.119 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003097/1.069, allocations: 97.38 kB / 1.119 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.069, allocations: 1.094 kB / 1.119 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/1.069, allocations: 42.08 kB / 1.119 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/1.07, allocations: 35 kB / 1.119 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.071, allocations: 0.8516 MB / 1.12 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.072, allocations: 0.7104 MB / 1.121 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.637e-05/1.072, allocations: 14.16 kB / 1.121 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/1.072, allocations: 33.47 kB / 1.121 GB, free: 14.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.072, allocations: 0 / 1.121 GB, free: 14.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/1.087, allocations: 2.891 MB / 1.124 GB, free: 13.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/1.087, allocations: 207.3 kB / 1.124 GB, free: 13.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.936, allocations: 0 / 1.124 GB, free: 13.61 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)