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.614/2.614, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001602/0.001603, allocations: 177.4 kB / 370.8 MB, free: 10.86 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.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001195/0.001195, allocations: 89.09 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007045/0.0007045, allocations: 13.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.248, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.692/6.94, allocations: 2.057 GB / 3.035 GB, free: 136.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/6.94, allocations: 88.02 kB / 3.035 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.1336/7.074, allocations: 41.4 MB / 3.075 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.185e-06/7.074, allocations: 0 / 3.075 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.409e-05/7.074, allocations: 0 / 3.075 GB, free: 101.3 MB / 0.9323 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.0007868/7.075, allocations: 474.9 kB / 3.076 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/7.075, allocations: 12.02 kB / 3.076 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/7.075, allocations: 42.56 kB / 3.076 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/7.075, allocations: 39.83 kB / 3.076 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/7.075, allocations: 202.8 kB / 3.076 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/7.075, allocations: 12.38 kB / 3.076 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/7.075, allocations: 12 kB / 3.076 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/7.076, allocations: 122.9 kB / 3.076 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/7.076, allocations: 4 kB / 3.076 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/7.076, allocations: 7.953 kB / 3.076 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/7.076, allocations: 4 kB / 3.076 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/7.076, allocations: 95.94 kB / 3.076 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/7.077, allocations: 468 kB / 3.077 GB, free: 99.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/7.078, allocations: 94.55 kB / 3.077 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/7.078, allocations: 4 kB / 3.077 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/7.078, allocations: 30.56 kB / 3.077 GB, free: 99.51 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/7.078, allocations: 0 / 3.077 GB, free: 99.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.000703/7.078, allocations: 161.6 kB / 3.077 GB, free: 99.35 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/7.079, allocations: 55.36 kB / 3.077 GB, free: 99.28 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/7.079, allocations: 162 kB / 3.077 GB, free: 99.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/7.079, allocations: 29.7 kB / 3.077 GB, free: 99.08 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/7.079, allocations: 123.9 kB / 3.077 GB, free: 98.96 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/7.079, allocations: 23.7 kB / 3.077 GB, free: 98.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/7.079, allocations: 0 / 3.077 GB, free: 98.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/7.079, allocations: 318.8 kB / 3.078 GB, free: 98.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/7.079, allocations: 35.98 kB / 3.078 GB, free: 98.58 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/7.079, allocations: 44.11 kB / 3.078 GB, free: 98.54 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/7.08, allocations: 39.98 kB / 3.078 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/7.08, allocations: 0 / 3.078 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004626/7.08, allocations: 125.5 kB / 3.078 GB, free: 98.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/7.08, allocations: 8 kB / 3.078 GB, free: 98.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/7.08, allocations: 0 / 3.078 GB, free: 98.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/7.08, allocations: 0 / 3.078 GB, free: 98.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/7.08, allocations: 23.92 kB / 3.078 GB, free: 98.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/7.08, allocations: 0 / 3.078 GB, free: 98.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/7.081, allocations: 27.78 kB / 3.078 GB, free: 98.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/7.081, allocations: 4 kB / 3.078 GB, free: 98.3 MB / 0.9323 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.0001222/7.081, allocations: 121.8 kB / 3.078 GB, free: 98.18 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/7.081, allocations: 11.91 kB / 3.078 GB, free: 98.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/7.081, allocations: 146.8 kB / 3.078 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/7.081, allocations: 4 kB / 3.078 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.081, allocations: 0 / 3.078 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/7.081, allocations: 0 / 3.078 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/7.082, allocations: 221.5 kB / 3.079 GB, free: 97.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/7.082, allocations: 4 kB / 3.079 GB, free: 97.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/7.082, allocations: 15.98 kB / 3.079 GB, free: 97.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/7.082, allocations: 0 / 3.079 GB, free: 97.72 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/7.082, allocations: 7.984 kB / 3.079 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/7.082, allocations: 0 / 3.079 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/7.082, allocations: 0 / 3.079 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/7.082, allocations: 227.9 kB / 3.079 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/7.083, allocations: 92.86 kB / 3.079 GB, free: 97.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/7.083, allocations: 3.984 kB / 3.079 GB, free: 97.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/7.083, allocations: 12 kB / 3.079 GB, free: 97.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/7.083, allocations: 7.984 kB / 3.079 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/7.083, allocations: 4 kB / 3.079 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001405/7.083, allocations: 127.2 kB / 3.079 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/7.083, allocations: 0 / 3.079 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004685/7.084, allocations: 59.98 kB / 3.079 GB, free: 97.16 MB / 0.9323 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.001505/7.085, allocations: 1.213 MB / 3.08 GB, free: 95.93 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004655/7.086, allocations: 87.94 kB / 3.08 GB, free: 95.85 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.086, allocations: 0 / 3.08 GB, free: 95.85 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/7.086, allocations: 47.91 kB / 3.08 GB, free: 95.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/7.086, allocations: 33.86 kB / 3.08 GB, free: 95.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/7.088, allocations: 0.8504 MB / 3.081 GB, free: 94.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/7.088, allocations: 0.7121 MB / 3.082 GB, free: 94.12 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001693/7.089, allocations: 8.875 kB / 3.082 GB, free: 94.11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/7.089, allocations: 35.44 kB / 3.082 GB, free: 94.07 MB / 0.9323 GB Notification: Performance of SimCode: time 1.193e-06/7.089, allocations: 0 / 3.082 GB, free: 94.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/7.127, allocations: 11.89 MB / 3.094 GB, free: 82.34 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/7.127, allocations: 197.3 kB / 3.094 GB, free: 82.11 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/10.11, allocations: 0 / 3.094 GB, free: 82.11 MB / 0.9323 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)