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.001473/0.001472, allocations: 175 kB / 12.73 MB, free: 2.59 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.789/1.789, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0009263/0.0009264, allocations: 88.86 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.08871/0.08871, allocations: 10.87 MB / 325.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01624/0.01624, allocations: 4.153 MB / 379.9 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-05/4.021e-05, allocations: 0 / 439.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3325, allocations: 50.75 MB / 490.4 MB, free: 51.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.328/2.661, allocations: 0.9498 GB / 1.429 GB, free: 61.78 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/2.661, allocations: 75.83 kB / 1.429 GB, free: 61.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.546/5.207, allocations: 0.6601 GB / 2.089 GB, free: 76.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.395e-06/5.208, allocations: 0 / 2.089 GB, free: 76.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.581e-05/5.208, allocations: 21.09 kB / 2.089 GB, free: 76.84 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.005739/5.213, allocations: 1.75 MB / 2.091 GB, free: 76.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/5.213, allocations: 10.06 kB / 2.091 GB, free: 76.22 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/5.214, allocations: 117 kB / 2.091 GB, free: 76.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/5.214, allocations: 125.7 kB / 2.091 GB, free: 76.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/5.215, allocations: 0.5632 MB / 2.091 GB, free: 75.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/5.215, allocations: 50.89 kB / 2.091 GB, free: 75.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/5.216, allocations: 76.55 kB / 2.092 GB, free: 75.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/5.218, allocations: 1.317 MB / 2.093 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/5.218, allocations: 6.188 kB / 2.093 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/5.218, allocations: 28.84 kB / 2.093 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/5.218, allocations: 44.33 kB / 2.093 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/5.221, allocations: 1.45 MB / 2.094 GB, free: 75.7 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01686/5.238, allocations: 8.636 MB / 2.103 GB, free: 71.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/5.24, allocations: 1.061 MB / 2.104 GB, free: 71.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009137/5.241, allocations: 0.664 MB / 2.104 GB, free: 71.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/5.264, allocations: 10.59 MB / 2.115 GB, free: 66.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/5.264, allocations: 41.59 kB / 2.115 GB, free: 66.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 6.342e-06/5.264, allocations: 3.797 kB / 2.115 GB, free: 66.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.003597/5.268, allocations: 1.457 MB / 2.116 GB, free: 66.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/5.268, allocations: 191.3 kB / 2.116 GB, free: 66.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/5.268, allocations: 412.7 kB / 2.117 GB, free: 66.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/5.268, allocations: 41.2 kB / 2.117 GB, free: 66.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/5.269, allocations: 310.8 kB / 2.117 GB, free: 65.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/5.269, allocations: 263.8 kB / 2.117 GB, free: 65.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/5.269, allocations: 18.78 kB / 2.117 GB, free: 65.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/5.269, allocations: 376.5 kB / 2.118 GB, free: 65.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/5.27, allocations: 0.6469 MB / 2.118 GB, free: 65.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/5.271, allocations: 0.8566 MB / 2.119 GB, free: 65.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/5.272, allocations: 0.7628 MB / 2.12 GB, free: 65.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/5.272, allocations: 4 kB / 2.12 GB, free: 65.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002809/5.275, allocations: 1.719 MB / 2.122 GB, free: 65.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/5.275, allocations: 8.5 kB / 2.122 GB, free: 65.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/5.275, allocations: 3.906 kB / 2.122 GB, free: 65.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003559/5.279, allocations: 448.2 kB / 2.122 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/5.281, allocations: 382 kB / 2.122 GB, free: 65.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009386/5.282, allocations: 1.141 MB / 2.124 GB, free: 63.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/5.283, allocations: 167.5 kB / 2.124 GB, free: 63.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/5.283, allocations: 50.53 kB / 2.124 GB, free: 63.93 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 () * 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.0003224/5.284, allocations: 162.4 kB / 2.124 GB, free: 63.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/5.284, allocations: 59.69 kB / 2.124 GB, free: 63.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/5.288, allocations: 2.029 MB / 2.126 GB, free: 63.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/5.288, allocations: 16.17 kB / 2.126 GB, free: 63.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/5.288, allocations: 0 / 2.126 GB, free: 63.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/5.288, allocations: 3.703 kB / 2.126 GB, free: 63.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/5.292, allocations: 3.08 MB / 2.129 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/5.292, allocations: 3.906 kB / 2.129 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/5.294, allocations: 335.3 kB / 2.129 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/5.298, allocations: 0.7204 MB / 2.13 GB, free: 63.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/5.298, allocations: 50.19 kB / 2.13 GB, free: 63.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009355/5.299, allocations: 1.451 MB / 2.132 GB, free: 62.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.299, allocations: 0 / 2.132 GB, free: 62.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/5.302, allocations: 2.822 MB / 2.134 GB, free: 61.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/5.303, allocations: 185.8 kB / 2.134 GB, free: 61.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/5.303, allocations: 40.52 kB / 2.134 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/5.304, allocations: 72.45 kB / 2.135 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/5.304, allocations: 62.64 kB / 2.135 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/5.304, allocations: 34.28 kB / 2.135 GB, free: 61.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005139/5.304, allocations: 392.9 kB / 2.135 GB, free: 61.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/5.304, allocations: 0 / 2.135 GB, free: 61.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002456/5.307, allocations: 476.3 kB / 2.135 GB, free: 61.27 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 () * 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.006308/5.313, allocations: 4.181 MB / 2.14 GB, free: 59.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002672/5.316, allocations: 1.56 MB / 2.141 GB, free: 58.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/5.316, allocations: 8.156 kB / 2.141 GB, free: 58.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/5.317, allocations: 0.772 MB / 2.142 GB, free: 57.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/5.319, allocations: 254.8 kB / 2.142 GB, free: 57.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/5.323, allocations: 2.187 MB / 2.144 GB, free: 55.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/5.324, allocations: 0.9953 MB / 2.145 GB, free: 54.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001172/5.325, allocations: 394.8 kB / 2.146 GB, free: 54.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/5.325, allocations: 290.1 kB / 2.146 GB, free: 54.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.174e-06/5.325, allocations: 0 / 2.146 GB, free: 54.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/5.384, allocations: 30.42 MB / 2.176 GB, free: 32.13 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/5.385, allocations: 267.2 kB / 2.176 GB, free: 31.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/8.798, allocations: 0 / 2.176 GB, free: 31.79 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)