Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.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.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger",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.001157/0.001156, allocations: 108 kB / 15.61 MB, free: 152 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.001195/0.001195, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.493/1.493, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06972/0.06972, allocations: 10.99 MB / 280.7 MB, free: 10.2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01777/0.01777, allocations: 4.25 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.001813/0.001813, allocations: 67.91 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2677, allocations: 49.73 MB / 446.4 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.02992/0.2977, allocations: 33.47 MB / 479.9 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3922/0.69, allocations: 145.1 MB / 0.6103 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.6905, allocations: 8.531 kB / 0.6103 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.6913, allocations: 324.9 kB / 0.6106 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.6952, allocations: 1.429 MB / 0.612 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.6991, allocations: 1.491 MB / 0.6135 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.7011, allocations: 2.033 MB / 0.6155 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.7019, allocations: 0.6063 MB / 0.6161 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005881/0.7078, allocations: 4.238 MB / 0.6202 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005734/0.7135, allocations: 4.09 MB / 0.6242 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.7138, allocations: 121.2 kB / 0.6243 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004369/0.7182, allocations: 1.61 MB / 0.6259 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.7186, allocations: 336 kB / 0.6262 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.7193, allocations: 479.5 kB / 0.6267 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.7238, allocations: 2.203 MB / 0.6288 GB, free: 7.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7238, allocations: 0 / 0.6288 GB, free: 7.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7239, allocations: 0 / 0.6288 GB, free: 7.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.7239, allocations: 0 / 0.6288 GB, free: 7.18 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005794/0.7297, allocations: 1.651 MB / 0.6304 GB, free: 5.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.7297, allocations: 12.03 kB / 0.6304 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.7299, allocations: 111.7 kB / 0.6305 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.7309, allocations: 134.9 kB / 0.6307 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.7317, allocations: 0.5198 MB / 0.6312 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.7318, allocations: 46.38 kB / 0.6312 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.7319, allocations: 79.47 kB / 0.6313 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.734, allocations: 1.321 MB / 0.6326 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.7341, allocations: 7.938 kB / 0.6326 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.7342, allocations: 24.5 kB / 0.6326 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.7342, allocations: 44.98 kB / 0.6327 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.7365, allocations: 1.465 MB / 0.6341 GB, free: 2.859 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.7559, allocations: 9.068 MB / 0.6429 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.7579, allocations: 1.094 MB / 0.644 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.7589, allocations: 0.6952 MB / 0.6447 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03146/0.7904, allocations: 11.79 MB / 0.6562 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.7905, allocations: 47.06 kB / 0.6562 GB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.906e-06/0.7905, allocations: 3.938 kB / 0.6563 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.005303/0.7958, allocations: 2.249 MB / 0.6584 GB, free: 9.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.796, allocations: 196.4 kB / 0.6586 GB, free: 8.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.7966, allocations: 477.6 kB / 0.6591 GB, free: 8.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.7969, allocations: 37.7 kB / 0.6591 GB, free: 8.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.7972, allocations: 311 kB / 0.6594 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.7974, allocations: 269.7 kB / 0.6597 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.7978, allocations: 222.5 kB / 0.6599 GB, free: 7.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.798, allocations: 374.8 kB / 0.6602 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.799, allocations: 0.6774 MB / 0.6609 GB, free: 6.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8002, allocations: 0.8741 MB / 0.6618 GB, free: 5.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.8026, allocations: 1.598 MB / 0.6633 GB, free: 4.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.8026, allocations: 4 kB / 0.6633 GB, free: 4.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003178/0.8058, allocations: 1.779 MB / 0.6651 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8059, allocations: 8 kB / 0.6651 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.8059, allocations: 4 kB / 0.6651 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/0.8097, allocations: 481.6 kB / 0.6655 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.8118, allocations: 375.4 kB / 0.6659 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.8129, allocations: 1.167 MB / 0.667 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.814, allocations: 154.7 kB / 0.6672 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.8142, allocations: 47.95 kB / 0.6672 GB, free: 15.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000562/0.8148, allocations: 249.5 kB / 0.6675 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.815, allocations: 63.34 kB / 0.6675 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.8185, allocations: 2.049 MB / 0.6695 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8185, allocations: 15.98 kB / 0.6695 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8185, allocations: 0 / 0.6695 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8186, allocations: 3.984 kB / 0.6695 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.8232, allocations: 3.128 MB / 0.6726 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.8232, allocations: 4 kB / 0.6726 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/0.8252, allocations: 331.5 kB / 0.6729 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/0.829, allocations: 0.6558 MB / 0.6736 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.8292, allocations: 47.94 kB / 0.6736 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.8304, allocations: 1.467 MB / 0.675 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8304, allocations: 0 / 0.675 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.8344, allocations: 2.823 MB / 0.6778 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.8346, allocations: 156.2 kB / 0.6779 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.8348, allocations: 47.89 kB / 0.678 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.8358, allocations: 59.91 kB / 0.678 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8359, allocations: 64.39 kB / 0.6781 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.836, allocations: 31.95 kB / 0.6781 GB, free: 4.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005305/0.8365, allocations: 398.8 kB / 0.6785 GB, free: 4.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8366, allocations: 0 / 0.6785 GB, free: 4.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001427/0.838, allocations: 443.6 kB / 0.6789 GB, free: 3.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (discreteExchanger.E,discreteExchanger.transport_A.u[1,1],discreteExchanger.transport_A.u[2,1],discreteExchanger.transport_A.u[3,1],discreteExchanger.transport_A.u[4,1],discreteExchanger.transport_A.u[5,1],discreteExchanger.transport_A.u[6,1],discreteExchanger.transport_A.u[7,1],discreteExchanger.transport_A.u[8,1],discreteExchanger.transport_A.u[9,1],discreteExchanger.transport_A.u[10,1],discreteExchanger.transport_B.u[1,1],discreteExchanger.transport_B.u[2,1],discreteExchanger.transport_B.u[3,1],discreteExchanger.transport_B.u[4,1],discreteExchanger.transport_B.u[5,1],discreteExchanger.transport_B.u[6,1],discreteExchanger.transport_B.u[7,1],discreteExchanger.transport_B.u[8,1],discreteExchanger.transport_B.u[9,1],discreteExchanger.transport_B.u[10,1]) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007035/0.845, allocations: 3.553 MB / 0.6824 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00447/0.8495, allocations: 1.869 MB / 0.6842 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.8496, allocations: 8.062 kB / 0.6842 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.8509, allocations: 0.7882 MB / 0.685 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.8528, allocations: 280 kB / 0.6853 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.8688, allocations: 10.02 MB / 0.6951 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.8697, allocations: 0.9858 MB / 0.696 GB, free: 1.996 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00188/0.8716, allocations: 405.8 kB / 0.6964 GB, free: 1.605 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000799/0.8724, allocations: 279.3 kB / 0.6967 GB, free: 1.332 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8725, allocations: 0 / 0.6967 GB, free: 1.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/0.9314, allocations: 28.15 MB / 0.7242 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.42, allocations: 11.92 kB / 0.7242 GB, free: 5.27 MB / 0.4981 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe 2>&1)