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.004783/0.004783, allocations: 95.38 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 205 kB / 16.68 MB, free: 5.973 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.485/1.485, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07148/0.07148, allocations: 10.97 MB / 280.9 MB, free: 10.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02004/0.02004, allocations: 4.238 MB / 334.6 MB, free: 29.02 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.002087/0.002088, allocations: 70.83 kB / 447.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.0837, allocations: 49.74 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.03734/0.1211, allocations: 33.47 MB / 0.5179 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4069/0.528, allocations: 145.1 MB / 0.6595 GB, free: 208 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.5286, allocations: 10.81 kB / 0.6596 GB, free: 204 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5296, allocations: 322.8 kB / 0.6599 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.5342, allocations: 1.426 MB / 0.6613 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.539, allocations: 1.493 MB / 0.6627 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002878/0.5419, allocations: 2.036 MB / 0.6647 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.5429, allocations: 0.6071 MB / 0.6653 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00714/0.5501, allocations: 4.245 MB / 0.6694 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00687/0.557, allocations: 4.092 MB / 0.6734 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.5573, allocations: 120 kB / 0.6736 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.562, allocations: 1.643 MB / 0.6752 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.5625, allocations: 327.3 kB / 0.6755 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.5633, allocations: 474.2 kB / 0.6759 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.5682, allocations: 2.224 MB / 0.6781 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5683, allocations: 0 / 0.6781 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5683, allocations: 3.938 kB / 0.6781 GB, free: 15.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.5683, allocations: 0 / 0.6781 GB, free: 15.05 MB / 462.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.006202/0.5745, allocations: 1.667 MB / 0.6797 GB, free: 13.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.5746, allocations: 12.03 kB / 0.6797 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.5748, allocations: 110.7 kB / 0.6798 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.5757, allocations: 128.5 kB / 0.68 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.5766, allocations: 0.5315 MB / 0.6805 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.5767, allocations: 45.88 kB / 0.6805 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5768, allocations: 79.89 kB / 0.6806 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.5792, allocations: 1.322 MB / 0.6819 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.5793, allocations: 4 kB / 0.6819 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5794, allocations: 28 kB / 0.6819 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/0.5794, allocations: 49.23 kB / 0.682 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.582, allocations: 1.465 MB / 0.6834 GB, free: 9.48 MB / 462.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.02046/0.6025, allocations: 9.047 MB / 0.6922 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.6046, allocations: 1.105 MB / 0.6933 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.6058, allocations: 0.6951 MB / 0.694 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03347/0.6393, allocations: 11.8 MB / 0.7055 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.6394, allocations: 47.06 kB / 0.7056 GB, free: 1.246 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 2.404e-06/0.6394, allocations: 3.938 kB / 0.7056 GB, free: 1.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.005007/0.6444, allocations: 2.253 MB / 0.7078 GB, free: 14.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.6446, allocations: 192.5 kB / 0.708 GB, free: 14.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.6452, allocations: 469.8 kB / 0.7084 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6454, allocations: 37.7 kB / 0.7084 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6456, allocations: 324.6 kB / 0.7087 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.6459, allocations: 277.7 kB / 0.709 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/0.6463, allocations: 218.5 kB / 0.7092 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.6466, allocations: 378.8 kB / 0.7096 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.6477, allocations: 0.6774 MB / 0.7102 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.6491, allocations: 0.8703 MB / 0.7111 GB, free: 11.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.6516, allocations: 1.598 MB / 0.7126 GB, free: 9.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6516, allocations: 8 kB / 0.7127 GB, free: 9.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003432/0.6551, allocations: 1.776 MB / 0.7144 GB, free: 7.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.6551, allocations: 12 kB / 0.7144 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6552, allocations: 4 kB / 0.7144 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/0.659, allocations: 465.1 kB / 0.7149 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.6612, allocations: 383.3 kB / 0.7152 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.6623, allocations: 1.163 MB / 0.7164 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.6635, allocations: 159.3 kB / 0.7165 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.6637, allocations: 43.97 kB / 0.7165 GB, free: 5.656 MB / 494.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.0004981/0.6642, allocations: 257.5 kB / 0.7168 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.6644, allocations: 67.56 kB / 0.7169 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.6679, allocations: 2.059 MB / 0.7189 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.668, allocations: 15.98 kB / 0.7189 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.668, allocations: 0 / 0.7189 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.668, allocations: 3.984 kB / 0.7189 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.6731, allocations: 3.129 MB / 0.7219 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6732, allocations: 4 kB / 0.7219 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.6752, allocations: 323.4 kB / 0.7223 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003821/0.6791, allocations: 0.6493 MB / 0.7229 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/0.6793, allocations: 43.95 kB / 0.7229 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.6808, allocations: 1.469 MB / 0.7244 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6808, allocations: 4.062 kB / 0.7244 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.6853, allocations: 2.839 MB / 0.7271 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.6856, allocations: 156.6 kB / 0.7273 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.6858, allocations: 47.89 kB / 0.7273 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/0.6867, allocations: 63.89 kB / 0.7274 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.6869, allocations: 60.64 kB / 0.7275 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.687, allocations: 31.95 kB / 0.7275 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005257/0.6875, allocations: 402.8 kB / 0.7279 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6875, allocations: 3.938 kB / 0.7279 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001515/0.6891, allocations: 439.2 kB / 0.7283 GB, free: 9.418 MB / 0.4981 GB 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.006025/0.6951, allocations: 3.55 MB / 0.7318 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003168/0.6983, allocations: 1.615 MB / 0.7333 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6983, allocations: 0 / 0.7333 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.6999, allocations: 0.792 MB / 0.7341 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7017, allocations: 282.5 kB / 0.7344 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.7173, allocations: 9.849 MB / 0.744 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.7182, allocations: 0.978 MB / 0.745 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001191/0.7194, allocations: 406.9 kB / 0.7453 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.7199, allocations: 279.2 kB / 0.7456 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of SimCode: time 9.01e-07/0.7199, allocations: 0 / 0.7456 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07092/0.7909, allocations: 28.5 MB / 0.7734 GB, free: 10.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.99, allocations: 16.09 kB / 0.7735 GB, free: 10.89 MB / 0.545 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)