Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.872/3.872, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002098/0.002098, allocations: 166.6 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.849/2.849, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 102.2 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006431, allocations: 13.09 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2122, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/6.676, allocations: 2.175 GB / 3.074 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/6.676, allocations: 91.25 kB / 3.074 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7501/7.427, allocations: 40.6 MB / 3.114 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.913e-06/7.427, allocations: 4 kB / 3.114 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.562e-05/7.427, allocations: 2.688 kB / 3.114 GB, free: 328.5 MB / 0.8855 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.0008314/7.427, allocations: 460 kB / 3.114 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/7.428, allocations: 9.219 kB / 3.114 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/7.428, allocations: 38.98 kB / 3.114 GB, free: 328 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/7.428, allocations: 208.6 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/7.428, allocations: 7.688 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/7.428, allocations: 10.34 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/7.429, allocations: 113.6 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/7.429, allocations: 1.5 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/7.429, allocations: 10.98 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/7.429, allocations: 3.688 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/7.429, allocations: 106.1 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/7.43, allocations: 460.4 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/7.431, allocations: 103.9 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/7.431, allocations: 42.83 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/7.431, allocations: 3.938 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/7.431, allocations: 38.34 kB / 3.115 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 3.377e-06/7.431, allocations: 0 / 3.115 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0006815/7.432, allocations: 161.3 kB / 3.116 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/7.432, allocations: 58.91 kB / 3.116 GB, free: 327.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/7.432, allocations: 179.6 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/7.432, allocations: 29.7 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/7.432, allocations: 112.4 kB / 3.116 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/7.432, allocations: 25.33 kB / 3.116 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/7.432, allocations: 0 / 3.116 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/7.432, allocations: 325.3 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/7.432, allocations: 31.8 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/7.432, allocations: 46.19 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/7.433, allocations: 36.28 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/7.433, allocations: 0 / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004336/7.433, allocations: 132.2 kB / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/7.433, allocations: 10.03 kB / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/7.433, allocations: 0 / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/7.433, allocations: 0 / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/7.433, allocations: 21.58 kB / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/7.433, allocations: 0 / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/7.434, allocations: 17.05 kB / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/7.434, allocations: 7.094 kB / 3.117 GB, free: 326.7 MB / 0.8855 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.0001031/7.434, allocations: 123.8 kB / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/7.434, allocations: 21.78 kB / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/7.434, allocations: 133.4 kB / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/7.434, allocations: 5.359 kB / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/7.434, allocations: 0 / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/7.434, allocations: 0 / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/7.435, allocations: 216.8 kB / 3.117 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/7.435, allocations: 3.375 kB / 3.117 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/7.435, allocations: 19.78 kB / 3.117 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/7.435, allocations: 3.938 kB / 3.117 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/7.435, allocations: 3.375 kB / 3.117 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/7.435, allocations: 8 kB / 3.117 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/7.435, allocations: 3.938 kB / 3.117 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/7.435, allocations: 223.2 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/7.435, allocations: 95.58 kB / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/7.435, allocations: 0 / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/7.436, allocations: 12.62 kB / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/7.436, allocations: 6.094 kB / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/7.436, allocations: 3.375 kB / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001337/7.436, allocations: 137.9 kB / 3.118 GB, free: 326 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/7.436, allocations: 0 / 3.118 GB, free: 326 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004696/7.436, allocations: 58.28 kB / 3.118 GB, free: 326 MB / 0.8855 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.0007966/7.437, allocations: 0.5523 MB / 3.118 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004349/7.438, allocations: 77.36 kB / 3.118 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/7.438, allocations: 4 kB / 3.118 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/7.438, allocations: 48.17 kB / 3.118 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/7.438, allocations: 39.25 kB / 3.118 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/7.439, allocations: 309.3 kB / 3.119 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/7.439, allocations: 0.7099 MB / 3.119 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001236/7.439, allocations: 14.95 kB / 3.119 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/7.44, allocations: 11.38 kB / 3.119 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/7.44, allocations: 0 / 3.119 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01916/7.459, allocations: 8.554 MB / 3.128 GB, free: 322.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)