Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 116.1 kB / 17.16 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 205.5 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6448/0.6448, allocations: 94.56 MB / 404.1 MB, free: 10.95 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 83.88 kB / 0.5506 GB, free: 5.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3775, allocations: 73.03 MB / 0.6219 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7518/1.129, allocations: 309.1 MB / 0.9238 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03865/1.168, allocations: 38.17 MB / 0.9611 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.172, allocations: 146.3 kB / 0.9612 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004434/1.176, allocations: 1.412 MB / 0.9626 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.186, allocations: 3.421 MB / 0.9659 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/1.197, allocations: 3.455 MB / 0.9693 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00687/1.204, allocations: 3.832 MB / 0.9731 GB, free: 8.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.205, allocations: 0.5213 MB / 0.9736 GB, free: 8.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/1.21, allocations: 2.445 MB / 0.976 GB, free: 6.184 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/1.212, allocations: 1.496 MB / 0.9774 GB, free: 4.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004252/1.213, allocations: 235.9 kB / 0.9776 GB, free: 4.539 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.227, allocations: 6.83 MB / 0.9843 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.228, allocations: 0.5782 MB / 0.9849 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/1.23, allocations: 1.409 MB / 0.9863 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01478/1.245, allocations: 5.058 MB / 0.9912 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.245, allocations: 0 / 0.9912 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/1.245, allocations: 0 / 0.9912 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.539e-05/1.245, allocations: 7.188 kB / 0.9912 GB, free: 7.539 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.009053/1.254, allocations: 3.785 MB / 0.9949 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.254, allocations: 8.031 kB / 0.9949 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.768e-05/1.254, allocations: 59.94 kB / 0.995 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004047/1.255, allocations: 295.2 kB / 0.9952 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/1.259, allocations: 0.6265 MB / 0.9959 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/1.263, allocations: 1.817 MB / 0.9976 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000501/1.264, allocations: 405.7 kB / 0.998 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/1.264, allocations: 219.9 kB / 0.9982 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/1.269, allocations: 2.322 MB / 1 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/1.269, allocations: 0 / 1 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/1.269, allocations: 84 kB / 1.001 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/1.269, allocations: 72.05 kB / 1.001 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/1.274, allocations: 1.888 MB / 1.002 GB, free: 11.84 MB / 0.7012 GB 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.014/1.288, allocations: 9.281 MB / 1.012 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/1.292, allocations: 1.852 MB / 1.013 GB, free: 88 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.294, allocations: 0.9841 MB / 1.014 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/1.297, allocations: 2.61 MB / 1.017 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.297, allocations: 59.86 kB / 1.017 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.586e-06/1.297, allocations: 4 kB / 1.017 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01806/1.315, allocations: 6.673 MB / 1.023 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.315, allocations: 73.41 kB / 1.024 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.317, allocations: 1.557 MB / 1.025 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.317, allocations: 57.7 kB / 1.025 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009097/1.318, allocations: 1.062 MB / 1.026 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/1.319, allocations: 0.6347 MB / 1.027 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006016/1.319, allocations: 323.6 kB / 1.027 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.32, allocations: 309.1 kB / 1.027 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.321, allocations: 0.6988 MB / 1.028 GB, free: 252 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.323, allocations: 0.8489 MB / 1.029 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/1.327, allocations: 1.578 MB / 1.03 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.327, allocations: 4 kB / 1.03 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007356/1.334, allocations: 2.717 MB / 1.033 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.334, allocations: 8 kB / 1.033 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.334, allocations: 3.938 kB / 1.033 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/1.336, allocations: 0.5694 MB / 1.034 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.338, allocations: 422.5 kB / 1.034 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.353, allocations: 10.14 MB / 1.044 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.355, allocations: 87.97 kB / 1.044 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/1.355, allocations: 120 kB / 1.044 GB, free: 15.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.356, allocations: 383.8 kB / 1.044 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/1.356, allocations: 234.4 kB / 1.045 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/1.366, allocations: 4.051 MB / 1.049 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.366, allocations: 16 kB / 1.049 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.366, allocations: 12 kB / 1.049 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/1.366, allocations: 7.969 kB / 1.049 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.378, allocations: 5.297 MB / 1.054 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.378, allocations: 4 kB / 1.054 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.38, allocations: 407.5 kB / 1.054 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.382, allocations: 0.573 MB / 1.055 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.382, allocations: 79.94 kB / 1.055 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/1.397, allocations: 10.12 MB / 1.065 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.397, allocations: 3.844 kB / 1.065 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009429/1.406, allocations: 3.756 MB / 1.068 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.407, allocations: 451.2 kB / 1.069 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.407, allocations: 42.72 kB / 1.069 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.408, allocations: 91.86 kB / 1.069 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.409, allocations: 153.8 kB / 1.069 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/1.409, allocations: 119.2 kB / 1.069 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001613/1.411, allocations: 1.055 MB / 1.07 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8.1e-08/1.411, allocations: 0 / 1.07 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003009/1.414, allocations: 0.8854 MB / 1.071 GB, free: 2.633 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/1.425, allocations: 5.256 MB / 1.076 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006614/1.432, allocations: 2.587 MB / 1.079 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.432, allocations: 0 / 1.079 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/1.436, allocations: 1.845 MB / 1.081 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.439, allocations: 0.5684 MB / 1.081 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/1.476, allocations: 17.43 MB / 1.098 GB, free: 6.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.478, allocations: 1.585 MB / 1.1 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003284/1.481, allocations: 1.44 MB / 1.101 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.483, allocations: 1.194 MB / 1.102 GB, free: 2.52 MB / 0.795 GB Notification: Performance of SimCode: time 1.913e-06/1.483, allocations: 0 / 1.102 GB, free: 2.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4662/1.949, allocations: 65.52 MB / 1.166 GB, free: 375.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/17.55, allocations: 12.97 kB / 1.166 GB, free: 375.1 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.14622385101393] Failed to read output from testmodel.py, exit status != 0: 17.743365372996777 17.760009458 16.510969442 Calling exit ...