Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001133/0.001133, allocations: 185 kB / 377.1 MB, free: 1.52 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.825/1.825, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.001144/0.001144, allocations: 88.14 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/6.184, allocations: 2.058 GB / 3.046 GB, free: 124.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/6.184, allocations: 92 kB / 3.046 GB, free: 124.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07472/6.259, allocations: 41.4 MB / 3.087 GB, free: 84.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/6.259, allocations: 0 / 3.087 GB, free: 84.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.233e-05/6.259, allocations: 4 kB / 3.087 GB, free: 84.66 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.0006057/6.26, allocations: 474.9 kB / 3.087 GB, free: 84.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/6.26, allocations: 12.02 kB / 3.087 GB, free: 84.14 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/6.26, allocations: 42.56 kB / 3.087 GB, free: 84.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/6.26, allocations: 39.83 kB / 3.087 GB, free: 84.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/6.26, allocations: 206.8 kB / 3.087 GB, free: 83.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/6.26, allocations: 15.88 kB / 3.087 GB, free: 83.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/6.26, allocations: 12.83 kB / 3.087 GB, free: 83.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/6.261, allocations: 121.6 kB / 3.088 GB, free: 83.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/6.261, allocations: 0 / 3.088 GB, free: 83.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/6.261, allocations: 4 kB / 3.088 GB, free: 83.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/6.261, allocations: 3.953 kB / 3.088 GB, free: 83.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/6.261, allocations: 107.9 kB / 3.088 GB, free: 83.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/6.262, allocations: 468 kB / 3.088 GB, free: 83.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/6.262, allocations: 90.61 kB / 3.088 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/6.262, allocations: 0 / 3.088 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/6.262, allocations: 35.41 kB / 3.088 GB, free: 82.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/6.262, allocations: 0 / 3.088 GB, free: 82.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004065/6.262, allocations: 154.2 kB / 3.088 GB, free: 82.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/6.262, allocations: 59.41 kB / 3.088 GB, free: 82.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/6.262, allocations: 167.2 kB / 3.089 GB, free: 82.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/6.262, allocations: 25.7 kB / 3.089 GB, free: 82.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/6.262, allocations: 119.9 kB / 3.089 GB, free: 82.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/6.262, allocations: 23.7 kB / 3.089 GB, free: 82.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/6.262, allocations: 0 / 3.089 GB, free: 82.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/6.263, allocations: 327.4 kB / 3.089 GB, free: 81.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/6.263, allocations: 35.98 kB / 3.089 GB, free: 81.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/6.263, allocations: 40.28 kB / 3.089 GB, free: 81.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/6.263, allocations: 40.12 kB / 3.089 GB, free: 81.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/6.263, allocations: 0 / 3.089 GB, free: 81.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/6.263, allocations: 129.5 kB / 3.089 GB, free: 81.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/6.263, allocations: 5.031 kB / 3.089 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/6.263, allocations: 0 / 3.089 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/6.263, allocations: 0 / 3.089 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/6.263, allocations: 19.98 kB / 3.089 GB, free: 81.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/6.263, allocations: 8 kB / 3.089 GB, free: 81.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/6.263, allocations: 15.83 kB / 3.089 GB, free: 81.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/6.263, allocations: 11.95 kB / 3.089 GB, free: 81.69 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 () * 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 7.064e-05/6.264, allocations: 113.8 kB / 3.089 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/6.264, allocations: 11.91 kB / 3.089 GB, free: 81.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/6.264, allocations: 150.8 kB / 3.09 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/6.264, allocations: 0 / 3.09 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/6.264, allocations: 1.031 kB / 3.09 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/6.264, allocations: 0 / 3.09 GB, free: 81.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/6.264, allocations: 221.5 kB / 3.09 GB, free: 81.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/6.264, allocations: 0 / 3.09 GB, free: 81.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/6.264, allocations: 27.98 kB / 3.09 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/6.264, allocations: 0 / 3.09 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/6.264, allocations: 3.984 kB / 3.09 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/6.264, allocations: 0 / 3.09 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/6.264, allocations: 0 / 3.09 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/6.264, allocations: 219.3 kB / 3.09 GB, free: 80.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/6.265, allocations: 96.86 kB / 3.09 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/6.265, allocations: 4.922 kB / 3.09 GB, free: 80.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/6.265, allocations: 12 kB / 3.09 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/6.265, allocations: 11.97 kB / 3.09 GB, free: 80.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/6.265, allocations: 0 / 3.09 GB, free: 80.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.015e-05/6.265, allocations: 140 kB / 3.09 GB, free: 80.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.265, allocations: 4 kB / 3.09 GB, free: 80.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003696/6.265, allocations: 55.98 kB / 3.09 GB, free: 80.55 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 () * 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.001035/6.266, allocations: 1.207 MB / 3.092 GB, free: 79.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002521/6.267, allocations: 87.94 kB / 3.092 GB, free: 79.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/6.267, allocations: 4 kB / 3.092 GB, free: 79.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/6.267, allocations: 43.92 kB / 3.092 GB, free: 79.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/6.267, allocations: 35.95 kB / 3.092 GB, free: 79.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/6.268, allocations: 0.8601 MB / 3.093 GB, free: 78.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/6.268, allocations: 0.7093 MB / 3.093 GB, free: 77.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.536e-05/6.268, allocations: 16.88 kB / 3.093 GB, free: 77.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/6.268, allocations: 31.44 kB / 3.093 GB, free: 77.46 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/6.268, allocations: 0 / 3.093 GB, free: 77.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/6.29, allocations: 11.87 MB / 3.105 GB, free: 65.71 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/6.29, allocations: 191.5 kB / 3.105 GB, free: 65.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/8.441, allocations: 0 / 3.105 GB, free: 65.48 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)