Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.463/2.463, allocations: 284.9 MB / 292.4 MB, free: 10.62 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.001506/0.001505, allocations: 180.8 kB / 360.6 MB, free: 7.32 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.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001115/0.001114, allocations: 89.16 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.518e-05, allocations: 8 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.894, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/7.18, allocations: 2.056 GB / 3.019 GB, free: 62.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/7.181, allocations: 87.45 kB / 3.019 GB, free: 62.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1343/7.315, allocations: 40.67 MB / 3.059 GB, free: 25.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/7.315, allocations: 0 / 3.059 GB, free: 25.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.356e-05/7.315, allocations: 0 / 3.059 GB, free: 25.74 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.0006812/7.316, allocations: 462.2 kB / 3.06 GB, free: 25.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/7.316, allocations: 8.031 kB / 3.06 GB, free: 25.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/7.316, allocations: 39.73 kB / 3.06 GB, free: 25.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/7.317, allocations: 204.9 kB / 3.06 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/7.317, allocations: 4 kB / 3.06 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/7.317, allocations: 7.938 kB / 3.06 GB, free: 24.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001968/7.317, allocations: 60.44 kB / 3.06 GB, free: 24.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/7.317, allocations: 89.61 kB / 3.06 GB, free: 24.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/7.317, allocations: 7.953 kB / 3.06 GB, free: 24.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/7.317, allocations: 3.375 kB / 3.06 GB, free: 24.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/7.317, allocations: 7.984 kB / 3.06 GB, free: 24.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/7.318, allocations: 416.8 kB / 3.06 GB, free: 24.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/7.318, allocations: 74.52 kB / 3.06 GB, free: 24.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/7.318, allocations: 24.92 kB / 3.06 GB, free: 24.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/7.318, allocations: 0 / 3.06 GB, free: 24.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/7.318, allocations: 34.59 kB / 3.06 GB, free: 24.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/7.318, allocations: 4 kB / 3.06 GB, free: 24.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000242/7.318, allocations: 77.75 kB / 3.061 GB, free: 24.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/7.319, allocations: 55.41 kB / 3.061 GB, free: 24.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/7.319, allocations: 134.3 kB / 3.061 GB, free: 23.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/7.319, allocations: 25.7 kB / 3.061 GB, free: 23.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/7.319, allocations: 115.9 kB / 3.061 GB, free: 23.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/7.319, allocations: 23.64 kB / 3.061 GB, free: 23.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/7.319, allocations: 0 / 3.061 GB, free: 23.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/7.319, allocations: 322.8 kB / 3.061 GB, free: 23.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/7.319, allocations: 23.94 kB / 3.061 GB, free: 23.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/7.319, allocations: 19.98 kB / 3.061 GB, free: 23.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/7.319, allocations: 24 kB / 3.061 GB, free: 23.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/7.319, allocations: 0 / 3.061 GB, free: 23.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001785/7.319, allocations: 84.95 kB / 3.061 GB, free: 23.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/7.319, allocations: 4 kB / 3.061 GB, free: 23.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/7.319, allocations: 0 / 3.061 GB, free: 23.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/7.319, allocations: 4 kB / 3.061 GB, free: 23.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/7.32, allocations: 30.17 kB / 3.061 GB, free: 23.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/7.32, allocations: 0 / 3.061 GB, free: 23.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/7.32, allocations: 11.89 kB / 3.061 GB, free: 23.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/7.32, allocations: 4 kB / 3.061 GB, free: 23.19 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 6.329e-05/7.32, allocations: 112.7 kB / 3.061 GB, free: 23.07 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001741/7.32, allocations: 85.58 kB / 3.062 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/7.32, allocations: 7.906 kB / 3.062 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/7.32, allocations: 90.3 kB / 3.062 GB, free: 22.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/7.32, allocations: 0 / 3.062 GB, free: 22.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.32, allocations: 3.938 kB / 3.062 GB, free: 22.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/7.32, allocations: 3.953 kB / 3.062 GB, free: 22.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/7.321, allocations: 198.1 kB / 3.062 GB, free: 22.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/7.321, allocations: 1.594 kB / 3.062 GB, free: 22.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/7.321, allocations: 19.98 kB / 3.062 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/7.321, allocations: 0 / 3.062 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/7.321, allocations: 0 / 3.062 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/7.321, allocations: 0 / 3.062 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/7.321, allocations: 5 kB / 3.062 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/7.321, allocations: 183.3 kB / 3.062 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/7.321, allocations: 85.02 kB / 3.062 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/7.321, allocations: 0 / 3.062 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/7.321, allocations: 7.984 kB / 3.062 GB, free: 22.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/7.322, allocations: 7.984 kB / 3.062 GB, free: 22.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/7.322, allocations: 11.94 kB / 3.062 GB, free: 22.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.649e-05/7.322, allocations: 105.9 kB / 3.062 GB, free: 22.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.322, allocations: 0 / 3.062 GB, free: 22.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004087/7.322, allocations: 51.92 kB / 3.062 GB, free: 22.14 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.001182/7.323, allocations: 1.256 MB / 3.064 GB, free: 20.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001788/7.323, allocations: 51.94 kB / 3.064 GB, free: 20.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/7.323, allocations: 5.312 kB / 3.064 GB, free: 20.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/7.324, allocations: 23.98 kB / 3.064 GB, free: 20.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/7.324, allocations: 25.39 kB / 3.064 GB, free: 20.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/7.325, allocations: 202.5 kB / 3.064 GB, free: 20.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/7.325, allocations: 0.708 MB / 3.065 GB, free: 19.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001131/7.325, allocations: 8.438 kB / 3.065 GB, free: 19.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/7.325, allocations: 35.42 kB / 3.065 GB, free: 19.76 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/7.325, allocations: 0 / 3.065 GB, free: 19.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/7.369, allocations: 6.586 MB / 3.071 GB, free: 13.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/7.37, allocations: 158.9 kB / 3.071 GB, free: 13.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/10.05, allocations: 0 / 3.071 GB, free: 13.04 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)