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.005636/0.005636, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001427/0.001427, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07053/0.07053, allocations: 10.97 MB / 280.9 MB, free: 10.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02023/0.02023, allocations: 4.246 MB / 334.6 MB, free: 29.03 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.00229/0.00229, allocations: 66.8 kB / 447.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07368, allocations: 49.74 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.03628/0.11, allocations: 33.47 MB / 0.5179 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3837/0.4937, allocations: 145.1 MB / 0.6595 GB, free: 200 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.4942, allocations: 12.69 kB / 0.6596 GB, free: 192 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4953, allocations: 317.6 kB / 0.6599 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.4995, allocations: 1.428 MB / 0.6613 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.5036, allocations: 1.493 MB / 0.6627 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.5057, allocations: 2.038 MB / 0.6647 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.5065, allocations: 0.6033 MB / 0.6653 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.5127, allocations: 4.245 MB / 0.6694 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005962/0.5187, allocations: 4.092 MB / 0.6734 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.5189, allocations: 116 kB / 0.6735 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.5226, allocations: 1.643 MB / 0.6752 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.523, allocations: 327.3 kB / 0.6755 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.5238, allocations: 478.2 kB / 0.6759 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.5274, allocations: 2.224 MB / 0.6781 GB, free: 15.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5274, allocations: 0 / 0.6781 GB, free: 15.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5274, allocations: 0 / 0.6781 GB, free: 15.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5274, allocations: 0 / 0.6781 GB, free: 15.03 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.005522/0.533, allocations: 1.671 MB / 0.6797 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.533, allocations: 8.031 kB / 0.6797 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.5332, allocations: 114.7 kB / 0.6798 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.5342, allocations: 136.5 kB / 0.68 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/0.5351, allocations: 0.5276 MB / 0.6805 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.5352, allocations: 49.69 kB / 0.6805 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.5353, allocations: 79.89 kB / 0.6806 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.5377, allocations: 1.314 MB / 0.6819 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.5377, allocations: 3.938 kB / 0.6819 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5379, allocations: 31.94 kB / 0.6819 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.5379, allocations: 45.3 kB / 0.682 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.5405, allocations: 1.465 MB / 0.6834 GB, free: 9.457 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.01972/0.5602, allocations: 9.051 MB / 0.6922 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.5622, allocations: 1.119 MB / 0.6933 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009949/0.5632, allocations: 0.6835 MB / 0.694 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03213/0.5953, allocations: 11.79 MB / 0.7055 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.5954, allocations: 51.06 kB / 0.7056 GB, free: 1.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 2.495e-06/0.5954, allocations: 0 / 0.7056 GB, free: 1.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.004593/0.6, allocations: 2.253 MB / 0.7078 GB, free: 14.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6002, allocations: 188.5 kB / 0.7079 GB, free: 14.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.6007, allocations: 469.8 kB / 0.7084 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6008, allocations: 41.7 kB / 0.7084 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.6011, allocations: 320.5 kB / 0.7087 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.6013, allocations: 277.7 kB / 0.709 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.6017, allocations: 222.5 kB / 0.7092 GB, free: 13.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.6019, allocations: 378.8 kB / 0.7096 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.603, allocations: 0.6735 MB / 0.7102 GB, free: 12.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.6043, allocations: 0.8742 MB / 0.7111 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.6067, allocations: 1.594 MB / 0.7126 GB, free: 9.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.6068, allocations: 7.938 kB / 0.7127 GB, free: 9.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003081/0.6098, allocations: 1.78 MB / 0.7144 GB, free: 7.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6099, allocations: 12.03 kB / 0.7144 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6099, allocations: 4 kB / 0.7144 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/0.6136, allocations: 454.7 kB / 0.7148 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.6157, allocations: 395.2 kB / 0.7152 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.6169, allocations: 1.167 MB / 0.7164 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.618, allocations: 151.3 kB / 0.7165 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.6182, allocations: 47.97 kB / 0.7165 GB, free: 5.629 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.0004494/0.6186, allocations: 257.5 kB / 0.7168 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6188, allocations: 67.75 kB / 0.7169 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.6221, allocations: 2.055 MB / 0.7189 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.6222, allocations: 11.98 kB / 0.7189 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6222, allocations: 4 kB / 0.7189 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6222, allocations: 3.984 kB / 0.7189 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.6267, allocations: 3.125 MB / 0.7219 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6267, allocations: 0 / 0.7219 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.6287, allocations: 331.5 kB / 0.7223 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/0.6324, allocations: 0.6579 MB / 0.7229 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.6327, allocations: 47.89 kB / 0.7229 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.6341, allocations: 1.469 MB / 0.7244 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6341, allocations: 4.125 kB / 0.7244 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.6382, allocations: 2.827 MB / 0.7271 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.6384, allocations: 160.6 kB / 0.7273 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.6386, allocations: 36.06 kB / 0.7273 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.6395, allocations: 79.83 kB / 0.7274 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.6396, allocations: 60.39 kB / 0.7275 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.6397, allocations: 31.95 kB / 0.7275 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000499/0.6403, allocations: 394.8 kB / 0.7279 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6403, allocations: 0 / 0.7279 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001356/0.6416, allocations: 447.2 kB / 0.7283 GB, free: 9.391 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.005224/0.6469, allocations: 3.546 MB / 0.7318 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002734/0.6496, allocations: 1.611 MB / 0.7333 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6496, allocations: 0 / 0.7333 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6509, allocations: 0.7959 MB / 0.7341 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6525, allocations: 286.7 kB / 0.7344 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.6679, allocations: 9.84 MB / 0.744 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.6687, allocations: 0.978 MB / 0.7449 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001288/0.67, allocations: 407.9 kB / 0.7453 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.6706, allocations: 291.2 kB / 0.7456 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/0.6706, allocations: 0 / 0.7456 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.7336, allocations: 28.48 MB / 0.7734 GB, free: 10.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.61, allocations: 15.97 kB / 0.7734 GB, free: 10.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_HeatExchangers_test_DiscreteExchanger.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.pipe 2>&1)