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/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) 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 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) 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/Complex 3.2.3+maint.om/package.mo): time 0.005793/0.005793, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008115/0.0008117, allocations: 86.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05666/0.05666, allocations: 10.98 MB / 328.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01714/0.01714, allocations: 4.24 MB / 383.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 446.2 MB, free: 43.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07884/0.07923, allocations: 50.76 MB / 496.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.852/1.931, allocations: 0.9499 GB / 1.435 GB, free: 98.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.931, allocations: 78.45 kB / 1.435 GB, free: 98.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.862/3.793, allocations: 0.661 GB / 2.096 GB, free: 83.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.346e-06/3.793, allocations: 0 / 2.096 GB, free: 83.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.646e-05/3.794, allocations: 18.52 kB / 2.096 GB, free: 83.6 MB / 458.7 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.005584/3.799, allocations: 1.792 MB / 2.098 GB, free: 83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/3.799, allocations: 7.594 kB / 2.098 GB, free: 83 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/3.799, allocations: 118.6 kB / 2.098 GB, free: 82.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/3.8, allocations: 127.3 kB / 2.098 GB, free: 82.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/3.801, allocations: 0.5587 MB / 2.099 GB, free: 82.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/3.801, allocations: 53.38 kB / 2.099 GB, free: 82.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/3.801, allocations: 78.23 kB / 2.099 GB, free: 82.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/3.803, allocations: 1.319 MB / 2.1 GB, free: 82.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/3.803, allocations: 3.781 kB / 2.1 GB, free: 82.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/3.803, allocations: 29.56 kB / 2.1 GB, free: 82.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/3.803, allocations: 46.56 kB / 2.1 GB, free: 82.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/3.805, allocations: 1.46 MB / 2.102 GB, free: 82.5 MB / 458.7 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.01519/3.821, allocations: 8.584 MB / 2.11 GB, free: 78.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/3.822, allocations: 1.072 MB / 2.111 GB, free: 78.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/3.844, allocations: 10.47 MB / 2.121 GB, free: 73.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/3.845, allocations: 42.28 kB / 2.121 GB, free: 73.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.808e-06/3.845, allocations: 0 / 2.121 GB, free: 73.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.004328/3.849, allocations: 2.228 MB / 2.124 GB, free: 73.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/3.849, allocations: 198.1 kB / 2.124 GB, free: 72.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/3.849, allocations: 415.9 kB / 2.124 GB, free: 72.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/3.849, allocations: 42.73 kB / 2.124 GB, free: 72.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/3.85, allocations: 313.2 kB / 2.124 GB, free: 72.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/3.85, allocations: 259.6 kB / 2.125 GB, free: 72.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/3.85, allocations: 21.55 kB / 2.125 GB, free: 72.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/3.85, allocations: 375 kB / 2.125 GB, free: 72.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/3.851, allocations: 0.6614 MB / 2.126 GB, free: 72.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009726/3.852, allocations: 0.8584 MB / 2.127 GB, free: 71.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/3.853, allocations: 0.77 MB / 2.127 GB, free: 71.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/3.853, allocations: 0 / 2.127 GB, free: 71.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002399/3.855, allocations: 1.746 MB / 2.129 GB, free: 71.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/3.855, allocations: 8.062 kB / 2.129 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/3.855, allocations: 3.812 kB / 2.129 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/3.859, allocations: 452 kB / 2.13 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/3.861, allocations: 376 kB / 2.13 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/3.861, allocations: 1.158 MB / 2.131 GB, free: 70.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/3.862, allocations: 162.7 kB / 2.131 GB, free: 70.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/3.863, allocations: 47.67 kB / 2.131 GB, free: 70.69 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000415/3.863, allocations: 257.1 kB / 2.131 GB, free: 70.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/3.863, allocations: 60.22 kB / 2.131 GB, free: 70.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/3.866, allocations: 2.046 MB / 2.133 GB, free: 70.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/3.866, allocations: 14.8 kB / 2.134 GB, free: 70.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/3.866, allocations: 0 / 2.134 GB, free: 70.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/3.866, allocations: 3.703 kB / 2.134 GB, free: 70.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/3.87, allocations: 3.103 MB / 2.137 GB, free: 69.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/3.87, allocations: 2.531 kB / 2.137 GB, free: 69.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/3.872, allocations: 331.8 kB / 2.137 GB, free: 69.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/3.875, allocations: 0.6541 MB / 2.138 GB, free: 69.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/3.875, allocations: 45.23 kB / 2.138 GB, free: 69.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007865/3.876, allocations: 1.452 MB / 2.139 GB, free: 68.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/3.876, allocations: 6.594 kB / 2.139 GB, free: 68.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/3.879, allocations: 2.845 MB / 2.142 GB, free: 68.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/3.88, allocations: 189.7 kB / 2.142 GB, free: 68.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/3.88, allocations: 31.42 kB / 2.142 GB, free: 68.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/3.881, allocations: 85.03 kB / 2.142 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/3.881, allocations: 61.72 kB / 2.142 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/3.881, allocations: 33.98 kB / 2.142 GB, free: 68.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000436/3.881, allocations: 391.6 kB / 2.143 GB, free: 68.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/3.881, allocations: 4 kB / 2.143 GB, free: 68.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002092/3.884, allocations: 478.5 kB / 2.143 GB, free: 68.04 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/3.889, allocations: 4.195 MB / 2.147 GB, free: 66.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/3.892, allocations: 1.584 MB / 2.149 GB, free: 66.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/3.892, allocations: 5.672 kB / 2.149 GB, free: 66.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/3.893, allocations: 0.7812 MB / 2.149 GB, free: 66.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/3.894, allocations: 258.4 kB / 2.15 GB, free: 66.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/3.906, allocations: 9.615 MB / 2.159 GB, free: 61.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/3.906, allocations: 0.9938 MB / 2.16 GB, free: 60.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001152/3.907, allocations: 390.2 kB / 2.16 GB, free: 60.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/3.908, allocations: 279.8 kB / 2.161 GB, free: 60.07 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/3.908, allocations: 0 / 2.161 GB, free: 60.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/3.961, allocations: 29.86 MB / 2.19 GB, free: 52.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/3.962, allocations: 295.3 kB / 2.19 GB, free: 51.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/7.044, allocations: 3.938 kB / 2.19 GB, free: 51.85 MB / 458.7 MB (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/linux/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)