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.71/1.71, allocations: 285.4 MB / 298 MB, free: 5.98 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.001438/0.001439, allocations: 172.8 kB / 366.4 MB, free: 2.082 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.901/1.901, allocations: 205.1 MB / 0.6248 GB, free: 7.707 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.0008334/0.0008337, allocations: 95.62 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.145e-05, allocations: 12 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7636, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.923, allocations: 2.057 GB / 3.028 GB, free: 83.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/5.924, allocations: 87.94 kB / 3.028 GB, free: 83.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07856/6.002, allocations: 41.33 MB / 3.068 GB, free: 41.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434e-06/6.002, allocations: 0 / 3.068 GB, free: 41.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.349e-05/6.002, allocations: 7.938 kB / 3.068 GB, free: 41.52 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.0005166/6.003, allocations: 454.3 kB / 3.069 GB, free: 41.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/6.003, allocations: 12.03 kB / 3.069 GB, free: 41.02 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/6.003, allocations: 46.55 kB / 3.069 GB, free: 40.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/6.003, allocations: 35.73 kB / 3.069 GB, free: 40.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/6.003, allocations: 207.8 kB / 3.069 GB, free: 40.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/6.003, allocations: 4.438 kB / 3.069 GB, free: 40.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/6.004, allocations: 16 kB / 3.069 GB, free: 40.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/6.004, allocations: 101.6 kB / 3.069 GB, free: 40.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/6.004, allocations: 0 / 3.069 GB, free: 40.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/6.004, allocations: 4 kB / 3.069 GB, free: 40.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/6.004, allocations: 15.5 kB / 3.069 GB, free: 40.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/6.004, allocations: 67.94 kB / 3.069 GB, free: 40.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/6.005, allocations: 460.2 kB / 3.069 GB, free: 39.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/6.005, allocations: 70.56 kB / 3.07 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/6.005, allocations: 28.92 kB / 3.07 GB, free: 39.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/6.005, allocations: 8 kB / 3.07 GB, free: 39.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/6.005, allocations: 34.5 kB / 3.07 GB, free: 39.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/6.005, allocations: 0 / 3.07 GB, free: 39.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002024/6.005, allocations: 87.11 kB / 3.07 GB, free: 39.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/6.005, allocations: 55.36 kB / 3.07 GB, free: 39.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/6.005, allocations: 162.5 kB / 3.07 GB, free: 39.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/6.005, allocations: 29.69 kB / 3.07 GB, free: 39.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/6.005, allocations: 116.1 kB / 3.07 GB, free: 39.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/6.005, allocations: 31.64 kB / 3.07 GB, free: 39.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/6.005, allocations: 0 / 3.07 GB, free: 39.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/6.005, allocations: 322.8 kB / 3.07 GB, free: 39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/6.005, allocations: 16 kB / 3.07 GB, free: 38.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/6.005, allocations: 24 kB / 3.07 GB, free: 38.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/6.005, allocations: 23.98 kB / 3.07 GB, free: 38.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/6.005, allocations: 0 / 3.07 GB, free: 38.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001231/6.006, allocations: 94.61 kB / 3.071 GB, free: 38.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/6.006, allocations: 9.406 kB / 3.071 GB, free: 38.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/6.006, allocations: 7.938 kB / 3.071 GB, free: 38.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/6.006, allocations: 0 / 3.071 GB, free: 38.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/6.006, allocations: 19.98 kB / 3.071 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/6.006, allocations: 0 / 3.071 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/6.006, allocations: 27.84 kB / 3.071 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/6.006, allocations: 4 kB / 3.071 GB, free: 38.77 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 4.853e-05/6.006, allocations: 101 kB / 3.071 GB, free: 38.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/6.006, allocations: 11.91 kB / 3.071 GB, free: 38.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/6.006, allocations: 108.7 kB / 3.071 GB, free: 38.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/6.006, allocations: 4 kB / 3.071 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/6.006, allocations: 0 / 3.071 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/6.006, allocations: 0 / 3.071 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/6.006, allocations: 225.5 kB / 3.071 GB, free: 38.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/6.006, allocations: 0 / 3.071 GB, free: 38.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/6.007, allocations: 19.98 kB / 3.071 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/6.007, allocations: 4 kB / 3.071 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/6.007, allocations: 1.594 kB / 3.071 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/6.007, allocations: 0 / 3.071 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/6.007, allocations: 4 kB / 3.071 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/6.007, allocations: 187.2 kB / 3.071 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/6.007, allocations: 85.02 kB / 3.071 GB, free: 37.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/6.007, allocations: 4 kB / 3.071 GB, free: 37.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/6.007, allocations: 15.98 kB / 3.071 GB, free: 37.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/6.007, allocations: 7.984 kB / 3.071 GB, free: 37.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/6.007, allocations: 0 / 3.071 GB, free: 37.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.409e-05/6.007, allocations: 132.3 kB / 3.071 GB, free: 37.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.007, allocations: 0 / 3.071 GB, free: 37.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003542/6.007, allocations: 59.89 kB / 3.072 GB, free: 37.73 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.0008573/6.008, allocations: 1.17 MB / 3.073 GB, free: 36.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001297/6.008, allocations: 58.42 kB / 3.073 GB, free: 36.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/6.008, allocations: 0 / 3.073 GB, free: 36.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/6.009, allocations: 27.94 kB / 3.073 GB, free: 36.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/6.009, allocations: 36.75 kB / 3.073 GB, free: 36.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/6.009, allocations: 207.5 kB / 3.073 GB, free: 36.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/6.009, allocations: 0.7082 MB / 3.074 GB, free: 35.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.465e-05/6.01, allocations: 16.86 kB / 3.074 GB, free: 35.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/6.01, allocations: 39.42 kB / 3.074 GB, free: 35.39 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/6.01, allocations: 0 / 3.074 GB, free: 35.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/6.034, allocations: 13.57 MB / 3.087 GB, free: 21.98 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/6.034, allocations: 182.2 kB / 3.087 GB, free: 21.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/7.978, allocations: 0 / 3.087 GB, free: 21.75 MB / 0.948 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)