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 2.019/2.019, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001172/0.001172, allocations: 176.9 kB / 361.4 MB, free: 6.797 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.744/1.744, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009628/0.0009632, allocations: 100.2 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.651e-05, allocations: 8 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7963, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/6.174, allocations: 2.056 GB / 3.02 GB, free: 59.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/6.175, allocations: 91.5 kB / 3.021 GB, free: 59.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08044/6.255, allocations: 40.67 MB / 3.06 GB, free: 22.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/6.255, allocations: 5.906 kB / 3.06 GB, free: 22.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.545e-05/6.255, allocations: 0 / 3.06 GB, free: 22.23 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.0005826/6.256, allocations: 458.2 kB / 3.061 GB, free: 21.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/6.256, allocations: 12.03 kB / 3.061 GB, free: 21.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/6.256, allocations: 39.73 kB / 3.061 GB, free: 21.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/6.257, allocations: 202.8 kB / 3.061 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/6.257, allocations: 4 kB / 3.061 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/6.257, allocations: 8 kB / 3.061 GB, free: 21.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002314/6.257, allocations: 60.38 kB / 3.061 GB, free: 21.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/6.257, allocations: 85.61 kB / 3.061 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/6.257, allocations: 0 / 3.061 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/6.257, allocations: 5.078 kB / 3.061 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/6.257, allocations: 8 kB / 3.061 GB, free: 21.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/6.258, allocations: 420.8 kB / 3.062 GB, free: 20.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/6.258, allocations: 70.56 kB / 3.062 GB, free: 20.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/6.258, allocations: 32.86 kB / 3.062 GB, free: 20.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/6.258, allocations: 0 / 3.062 GB, free: 20.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/6.258, allocations: 30.56 kB / 3.062 GB, free: 20.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/6.258, allocations: 0 / 3.062 GB, free: 20.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002045/6.258, allocations: 77.64 kB / 3.062 GB, free: 20.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/6.258, allocations: 59.41 kB / 3.062 GB, free: 20.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/6.258, allocations: 129.8 kB / 3.062 GB, free: 20.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/6.258, allocations: 25.7 kB / 3.062 GB, free: 20.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/6.258, allocations: 119.9 kB / 3.062 GB, free: 20.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/6.259, allocations: 23.66 kB / 3.062 GB, free: 20.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/6.259, allocations: 0 / 3.062 GB, free: 20.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/6.259, allocations: 322.8 kB / 3.062 GB, free: 19.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/6.259, allocations: 20 kB / 3.062 GB, free: 19.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/6.259, allocations: 24.14 kB / 3.062 GB, free: 19.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/6.259, allocations: 27.92 kB / 3.062 GB, free: 19.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/6.259, allocations: 0 / 3.062 GB, free: 19.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00012/6.259, allocations: 84.02 kB / 3.063 GB, free: 19.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/6.259, allocations: 8.781 kB / 3.063 GB, free: 19.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/6.259, allocations: 3.938 kB / 3.063 GB, free: 19.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/6.259, allocations: 0 / 3.063 GB, free: 19.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/6.259, allocations: 19.98 kB / 3.063 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/6.259, allocations: 4.156 kB / 3.063 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/6.259, allocations: 19.89 kB / 3.063 GB, free: 19.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/6.259, allocations: 0 / 3.063 GB, free: 19.68 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 5.966e-05/6.259, allocations: 108.9 kB / 3.063 GB, free: 19.57 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001169/6.259, allocations: 81.53 kB / 3.063 GB, free: 19.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/6.259, allocations: 7.906 kB / 3.063 GB, free: 19.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/6.26, allocations: 90.28 kB / 3.063 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/6.26, allocations: 0 / 3.063 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/6.26, allocations: 4 kB / 3.063 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/6.26, allocations: 0 / 3.063 GB, free: 19.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/6.26, allocations: 198.1 kB / 3.063 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/6.26, allocations: 0 / 3.063 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/6.26, allocations: 23.92 kB / 3.063 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/6.26, allocations: 0 / 3.063 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/6.26, allocations: 0 / 3.063 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/6.26, allocations: 3 kB / 3.063 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/6.26, allocations: 0 / 3.063 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/6.26, allocations: 194.3 kB / 3.063 GB, free: 18.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/6.26, allocations: 85.02 kB / 3.063 GB, free: 18.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/6.26, allocations: 0 / 3.063 GB, free: 18.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/6.26, allocations: 11.98 kB / 3.063 GB, free: 18.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/6.26, allocations: 4 kB / 3.063 GB, free: 18.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/6.26, allocations: 7.375 kB / 3.063 GB, free: 18.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.387e-05/6.261, allocations: 110.5 kB / 3.063 GB, free: 18.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/6.261, allocations: 4 kB / 3.063 GB, free: 18.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004068/6.261, allocations: 51.92 kB / 3.064 GB, free: 18.64 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.001391/6.262, allocations: 1.257 MB / 3.065 GB, free: 17.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001945/6.263, allocations: 48 kB / 3.065 GB, free: 17.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/6.263, allocations: 4 kB / 3.065 GB, free: 17.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/6.263, allocations: 27.94 kB / 3.065 GB, free: 17.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/6.263, allocations: 27.02 kB / 3.065 GB, free: 17.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/6.264, allocations: 191.3 kB / 3.065 GB, free: 17.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/6.264, allocations: 0.7158 MB / 3.066 GB, free: 16.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.924e-05/6.264, allocations: 4.438 kB / 3.066 GB, free: 16.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/6.264, allocations: 45.17 kB / 3.066 GB, free: 16.25 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/6.264, allocations: 0 / 3.066 GB, free: 16.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/6.291, allocations: 6.588 MB / 3.072 GB, free: 9.723 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/6.291, allocations: 163.9 kB / 3.072 GB, free: 9.531 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/8.266, allocations: 0 / 3.072 GB, free: 9.531 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)