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.001006/0.001006, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06409/0.06409, allocations: 10.98 MB / 281.3 MB, free: 10.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01651/0.01651, allocations: 4.225 MB / 336 MB, free: 29.16 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.0005217/0.0005218, allocations: 20 kB / 398.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2629, allocations: 50.76 MB / 449.5 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.01674/0.2797, allocations: 20.17 MB / 469.6 MB, free: 30.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4042/0.6839, allocations: 125.9 MB / 0.5816 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.6845, allocations: 10.09 kB / 0.5816 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.6854, allocations: 271.6 kB / 0.5818 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.6886, allocations: 1.124 MB / 0.5829 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.6922, allocations: 1.216 MB / 0.5841 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.6937, allocations: 1.131 MB / 0.5852 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/0.6944, allocations: 0.4933 MB / 0.5857 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009051/0.7035, allocations: 7.449 MB / 0.593 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00782/0.7114, allocations: 7.32 MB / 0.6001 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.7116, allocations: 54.5 kB / 0.6002 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.715, allocations: 1.555 MB / 0.6017 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.7152, allocations: 264.8 kB / 0.602 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.7156, allocations: 153.9 kB / 0.6021 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.7179, allocations: 1.6 MB / 0.6037 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7179, allocations: 0 / 0.6037 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.718, allocations: 1.938 kB / 0.6037 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.718, allocations: 0 / 0.6037 GB, free: 48 kB / 398.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.006702/0.7247, allocations: 1.553 MB / 0.6052 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.7248, allocations: 14.33 kB / 0.6052 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.725, allocations: 109.8 kB / 0.6053 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008522/0.7259, allocations: 124.5 kB / 0.6054 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.7268, allocations: 0.5107 MB / 0.6059 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.7268, allocations: 54.12 kB / 0.606 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.727, allocations: 73.94 kB / 0.606 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.7292, allocations: 1.318 MB / 0.6073 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.7292, allocations: 0 / 0.6073 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.7293, allocations: 33.64 kB / 0.6074 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.7294, allocations: 48.86 kB / 0.6074 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.7315, allocations: 1.458 MB / 0.6088 GB, free: 13.74 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.01826/0.7497, allocations: 9.12 MB / 0.6177 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.7516, allocations: 1.097 MB / 0.6188 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02892/0.7805, allocations: 11.77 MB / 0.6303 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.7806, allocations: 41.38 kB / 0.6303 GB, free: 8.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 2.334e-06/0.7806, allocations: 0 / 0.6303 GB, free: 8.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.004842/0.7854, allocations: 2.265 MB / 0.6325 GB, free: 6.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.7856, allocations: 191.4 kB / 0.6327 GB, free: 6.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.7863, allocations: 464 kB / 0.6332 GB, free: 6.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.7864, allocations: 43.39 kB / 0.6332 GB, free: 6.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.7867, allocations: 315.5 kB / 0.6335 GB, free: 5.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.787, allocations: 270.7 kB / 0.6338 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.7871, allocations: 17.38 kB / 0.6338 GB, free: 5.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.7873, allocations: 374.7 kB / 0.6341 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/0.7883, allocations: 0.6691 MB / 0.6348 GB, free: 4.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.7893, allocations: 0.8696 MB / 0.6356 GB, free: 4.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7904, allocations: 0.7897 MB / 0.6364 GB, free: 3.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7904, allocations: 0 / 0.6364 GB, free: 3.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002662/0.7931, allocations: 1.775 MB / 0.6382 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.7931, allocations: 7.953 kB / 0.6382 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7932, allocations: 8 kB / 0.6382 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/0.7967, allocations: 466 kB / 0.6386 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.7987, allocations: 378.9 kB / 0.639 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008687/0.7996, allocations: 1.174 MB / 0.6401 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.8007, allocations: 158.2 kB / 0.6403 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.8008, allocations: 55.45 kB / 0.6403 GB, free: 380 kB / 430.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 (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.0004031/0.8012, allocations: 254.6 kB / 0.6406 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8014, allocations: 61.11 kB / 0.6406 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.8042, allocations: 2.057 MB / 0.6426 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.8042, allocations: 11.62 kB / 0.6426 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8042, allocations: 16 kB / 0.6427 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.8042, allocations: 0 / 0.6427 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.8086, allocations: 3.128 MB / 0.6457 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.8086, allocations: 4.141 kB / 0.6457 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.8105, allocations: 334.5 kB / 0.646 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/0.8141, allocations: 0.6509 MB / 0.6467 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.8142, allocations: 49.44 kB / 0.6467 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.8152, allocations: 1.474 MB / 0.6482 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8153, allocations: 32 / 0.6482 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.8186, allocations: 2.879 MB / 0.651 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.8189, allocations: 186.1 kB / 0.6512 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.8191, allocations: 30.62 kB / 0.6512 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.82, allocations: 94.3 kB / 0.6513 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.8201, allocations: 57.62 kB / 0.6513 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.8202, allocations: 35.33 kB / 0.6514 GB, free: 8.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004395/0.8206, allocations: 390.9 kB / 0.6517 GB, free: 7.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8207, allocations: 0 / 0.6517 GB, free: 7.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001497/0.8222, allocations: 430.2 kB / 0.6521 GB, free: 7.336 MB / 446.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 (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.004664/0.8268, allocations: 3.955 MB / 0.656 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.8292, allocations: 1.589 MB / 0.6576 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8292, allocations: 5.719 kB / 0.6576 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.8303, allocations: 0.7867 MB / 0.6583 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.8317, allocations: 260.4 kB / 0.6586 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8431, allocations: 9.636 MB / 0.668 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.8439, allocations: 0.9986 MB / 0.669 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001336/0.8453, allocations: 400.4 kB / 0.6693 GB, free: 8.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.8458, allocations: 280.6 kB / 0.6696 GB, free: 8.754 MB / 462.1 MB Notification: Performance of SimCode: time 2.925e-06/0.8458, allocations: 0 / 0.6696 GB, free: 8.754 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.8957, allocations: 26.81 MB / 0.6958 GB, free: 14.14 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.896, allocations: 293.3 kB / 0.6961 GB, free: 13.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.486, allocations: 8 kB / 0.6961 GB, free: 13.78 MB / 494.1 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) Environment - environmentSimulation: