Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_MassExchangers_test_AnalyticWetExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_MassExchangers_test_AnalyticWetExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 198.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06845/0.06845, allocations: 10.98 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01759/0.01759, allocations: 4.237 MB / 334.4 MB, free: 29.1 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 71.89 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2481, allocations: 49.73 MB / 446.4 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger): time 0.426/0.6742, allocations: 187.2 MB / 0.6187 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.6915, allocations: 13.29 MB / 0.6317 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.6929, allocations: 11.34 kB / 0.6317 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.6943, allocations: 376.9 kB / 0.6321 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.6998, allocations: 1.569 MB / 0.6336 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007397/0.7072, allocations: 2.955 MB / 0.6365 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.7092, allocations: 1.827 MB / 0.6383 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.7099, allocations: 0.5567 MB / 0.6388 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.7113, allocations: 0.9114 MB / 0.6397 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.7121, allocations: 0.6337 MB / 0.6403 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7123, allocations: 91.81 kB / 0.6404 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008707/0.721, allocations: 4.754 MB / 0.6451 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.7214, allocations: 290.1 kB / 0.6453 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.722, allocations: 469.6 kB / 0.6458 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.7297, allocations: 3.519 MB / 0.6492 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7297, allocations: 0 / 0.6492 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7297, allocations: 0 / 0.6492 GB, free: 11.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.7297, allocations: 0 / 0.6492 GB, free: 11.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004209/0.734, allocations: 1.587 MB / 0.6508 GB, free: 9.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.734, allocations: 8.031 kB / 0.6508 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.7342, allocations: 114.5 kB / 0.6509 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.7347, allocations: 95.08 kB / 0.651 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.7354, allocations: 469.9 kB / 0.6514 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.7355, allocations: 52.89 kB / 0.6515 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.7356, allocations: 63.98 kB / 0.6515 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.7371, allocations: 0.9982 MB / 0.6525 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.7371, allocations: 4 kB / 0.6525 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.7372, allocations: 28 kB / 0.6525 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.7372, allocations: 33.3 kB / 0.6526 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7389, allocations: 1.028 MB / 0.6536 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.7433, allocations: 3.362 MB / 0.6569 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.745, allocations: 0.9817 MB / 0.6578 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.7457, allocations: 479.6 kB / 0.6583 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004131/0.7498, allocations: 3.618 MB / 0.6618 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.7499, allocations: 47.56 kB / 0.6619 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=86): time 2.325e-06/0.7499, allocations: 0 / 0.6619 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=86): time 0.00607/0.756, allocations: 2.254 MB / 0.6641 GB, free: 11.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.7561, allocations: 137.5 kB / 0.6642 GB, free: 11.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.7566, allocations: 465.8 kB / 0.6646 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.7566, allocations: 41.7 kB / 0.6647 GB, free: 10.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.7568, allocations: 267.6 kB / 0.6649 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.757, allocations: 289.3 kB / 0.6652 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.7573, allocations: 166.6 kB / 0.6654 GB, free: 9.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.7575, allocations: 370.8 kB / 0.6657 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.7582, allocations: 373.8 kB / 0.6661 GB, free: 9.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.7589, allocations: 0.5207 MB / 0.6666 GB, free: 8.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7603, allocations: 0.9059 MB / 0.6675 GB, free: 7.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7603, allocations: 0 / 0.6675 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002593/0.7629, allocations: 1.254 MB / 0.6687 GB, free: 6.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.763, allocations: 8 kB / 0.6687 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.763, allocations: 7.938 kB / 0.6687 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.7743, allocations: 1.535 MB / 0.6702 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/0.7751, allocations: 179.8 kB / 0.6704 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7775, allocations: 3.039 MB / 0.6733 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.7781, allocations: 83.03 kB / 0.6734 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.7783, allocations: 47.97 kB / 0.6735 GB, free: 1.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,2), (1,1), (3,10), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.7786, allocations: 217.6 kB / 0.6737 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.7788, allocations: 67.25 kB / 0.6737 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.7818, allocations: 1.591 MB / 0.6753 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.7818, allocations: 12 kB / 0.6753 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7818, allocations: 0 / 0.6753 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.7818, allocations: 3.984 kB / 0.6753 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.7848, allocations: 2.075 MB / 0.6773 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7848, allocations: 4 kB / 0.6773 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.7855, allocations: 152.1 kB / 0.6775 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/0.7922, allocations: 1 MB / 0.6785 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.7923, allocations: 27.98 kB / 0.6785 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.7946, allocations: 3 MB / 0.6814 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7947, allocations: 4 kB / 0.6814 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.797, allocations: 1.262 MB / 0.6827 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.7974, allocations: 267.9 kB / 0.6829 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.7975, allocations: 23.94 kB / 0.6829 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.7981, allocations: 27.98 kB / 0.683 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.7983, allocations: 72.78 kB / 0.683 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/0.7984, allocations: 51.92 kB / 0.6831 GB, free: 7.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.7989, allocations: 398.8 kB / 0.6835 GB, free: 6.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7989, allocations: 0 / 0.6835 GB, free: 6.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001524/0.8004, allocations: 0.6401 MB / 0.6841 GB, free: 6.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (75): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,2), (3,12), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004248/0.8047, allocations: 2.525 MB / 0.6865 GB, free: 3.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.8073, allocations: 1.052 MB / 0.6876 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.8073, allocations: 4 kB / 0.6876 GB, free: 2.645 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.8086, allocations: 0.5566 MB / 0.6881 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.8106, allocations: 429.9 kB / 0.6885 GB, free: 1.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.8226, allocations: 7.397 MB / 0.6958 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.8231, allocations: 0.926 MB / 0.6967 GB, free: 9.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008424/0.8239, allocations: 191.2 kB / 0.6968 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.8243, allocations: 243.3 kB / 0.6971 GB, free: 8.688 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.8243, allocations: 3.938 kB / 0.6971 GB, free: 8.684 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07042/0.8947, allocations: 37.4 MB / 0.7336 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.83, allocations: 16.38 kB / 0.7336 GB, free: 3.258 MB / 0.4981 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_MassExchangers_test_AnalyticWetExchanger.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.MassExchangers.test_AnalyticWetExchanger.pipe 2>&1)