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.817/2.817, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.00167/0.00167, allocations: 182.2 kB / 370.8 MB, free: 10.87 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.355/2.355, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001131/0.001131, allocations: 84.05 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007527/0.0007529, allocations: 13.95 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2791, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8817/1.161, allocations: 125.9 MB / 1.101 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001568/1.162, allocations: 0.8556 MB / 1.102 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/1.163, allocations: 5.219 kB / 1.102 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/1.163, allocations: 37.84 kB / 1.102 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006982/1.164, allocations: 150.2 kB / 1.102 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/1.164, allocations: 92.5 kB / 1.102 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008377/1.165, allocations: 219 kB / 1.103 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/1.165, allocations: 49.28 kB / 1.103 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/1.165, allocations: 38.45 kB / 1.103 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/1.165, allocations: 40.61 kB / 1.103 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/1.165, allocations: 3.688 kB / 1.103 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006925/1.166, allocations: 201.5 kB / 1.103 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/1.166, allocations: 27.67 kB / 1.103 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/1.166, allocations: 44.95 kB / 1.103 GB, free: 17.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/1.167, allocations: 159.1 kB / 1.103 GB, free: 17.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.167, allocations: 3.125 kB / 1.103 GB, free: 17.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/1.167, allocations: 0 / 1.103 GB, free: 17.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.019e-06/1.167, allocations: 0 / 1.103 GB, free: 17.82 MB / 0.698 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.0008083/1.168, allocations: 438.3 kB / 1.104 GB, free: 17.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.168, allocations: 13.3 kB / 1.104 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/1.168, allocations: 51.39 kB / 1.104 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/1.168, allocations: 36.75 kB / 1.104 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/1.168, allocations: 205 kB / 1.104 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.168, allocations: 9.75 kB / 1.104 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/1.169, allocations: 9.812 kB / 1.104 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/1.169, allocations: 124.3 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.169, allocations: 5.266 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/1.169, allocations: 6.562 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.169, allocations: 6.438 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/1.17, allocations: 100.8 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/1.17, allocations: 449.6 kB / 1.104 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/1.171, allocations: 97.95 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/1.171, allocations: 1.938 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.171, allocations: 36.56 kB / 1.105 GB, free: 16.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.726e-06/1.171, allocations: 0 / 1.105 GB, free: 16.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007402/1.172, allocations: 162.9 kB / 1.105 GB, free: 16.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.172, allocations: 53.28 kB / 1.105 GB, free: 16.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/1.172, allocations: 180.8 kB / 1.105 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.172, allocations: 29.55 kB / 1.105 GB, free: 16.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/1.172, allocations: 119.1 kB / 1.105 GB, free: 16.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/1.172, allocations: 19.77 kB / 1.105 GB, free: 16.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/1.172, allocations: 1.375 kB / 1.105 GB, free: 16.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.172, allocations: 324.1 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.173, allocations: 36.53 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/1.173, allocations: 51.52 kB / 1.106 GB, free: 16.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/1.173, allocations: 36.39 kB / 1.106 GB, free: 16.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.173, allocations: 0 / 1.106 GB, free: 16.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005048/1.174, allocations: 131.4 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.174, allocations: 5.984 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.174, allocations: 0.5 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.174, allocations: 1.156 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/1.174, allocations: 20.56 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.174, allocations: 3.953 kB / 1.106 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.174, allocations: 24.14 kB / 1.106 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/1.174, allocations: 3.094 kB / 1.106 GB, free: 16.02 MB / 0.698 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.0001471/1.174, allocations: 128 kB / 1.106 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/1.174, allocations: 9.531 kB / 1.106 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/1.175, allocations: 140 kB / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.175, allocations: 1.25 kB / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.175, allocations: 0 / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.175, allocations: 5.938 kB / 1.106 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/1.175, allocations: 220.8 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.175, allocations: 0.5625 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/1.176, allocations: 18.81 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.176, allocations: 0.5156 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.176, allocations: 5.281 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.176, allocations: 4.656 kB / 1.106 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.176, allocations: 1.297 kB / 1.106 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/1.176, allocations: 222.5 kB / 1.106 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/1.176, allocations: 97.69 kB / 1.107 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/1.176, allocations: 2.062 kB / 1.107 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/1.177, allocations: 14.16 kB / 1.107 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/1.177, allocations: 5.438 kB / 1.107 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.177, allocations: 1.062 kB / 1.107 GB, free: 15.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002304/1.177, allocations: 131.5 kB / 1.107 GB, free: 15.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.177, allocations: 1.406 kB / 1.107 GB, free: 15.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003501/1.177, allocations: 20.88 kB / 1.107 GB, free: 15.33 MB / 0.698 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.0009278/1.178, allocations: 0.7639 MB / 1.107 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004698/1.179, allocations: 80.98 kB / 1.108 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.179, allocations: 0 / 1.108 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/1.179, allocations: 50.67 kB / 1.108 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/1.179, allocations: 32.44 kB / 1.108 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/1.182, allocations: 0.8458 MB / 1.108 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.182, allocations: 0.7172 MB / 1.109 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001551/1.182, allocations: 10.14 kB / 1.109 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.182, allocations: 39.77 kB / 1.109 GB, free: 13.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/1.182, allocations: 4 kB / 1.109 GB, free: 13.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/1.209, allocations: 2.872 MB / 1.112 GB, free: 13.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.21, allocations: 197.9 kB / 1.112 GB, free: 13.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.772, allocations: 0 / 1.112 GB, free: 13.02 MB / 0.698 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)