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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 110.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002596/0.002596, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8874/0.8874, allocations: 93.71 MB / 390.9 MB, free: 4.699 MB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004198/0.004198, allocations: 83.42 kB / 0.5285 GB, free: 40.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1826, allocations: 68.27 MB / 0.5952 GB, free: 8.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7638/0.9464, allocations: 307.8 MB / 0.8958 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05807/1.005, allocations: 38.01 MB / 0.9329 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/1.009, allocations: 103.3 kB / 0.933 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005403/1.014, allocations: 1.409 MB / 0.9343 GB, free: 6.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/1.026, allocations: 3.369 MB / 0.9376 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.038, allocations: 3.427 MB / 0.941 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007334/1.045, allocations: 3.815 MB / 0.9447 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/1.048, allocations: 0.8273 MB / 0.9455 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/1.054, allocations: 2.347 MB / 0.9478 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/1.057, allocations: 1.485 MB / 0.9493 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/1.059, allocations: 232 kB / 0.9495 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/1.076, allocations: 6.701 MB / 0.956 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/1.077, allocations: 0.5797 MB / 0.9566 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002884/1.08, allocations: 1.41 MB / 0.958 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/1.095, allocations: 5.045 MB / 0.9629 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.095, allocations: 0 / 0.9629 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.064e-06/1.095, allocations: 0 / 0.9629 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001595/1.095, allocations: 3.938 kB / 0.9629 GB, free: 8.746 MB / 0.7012 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.01075/1.106, allocations: 3.788 MB / 0.9666 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.106, allocations: 8.031 kB / 0.9666 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007549/1.106, allocations: 291.3 kB / 0.9669 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007285/1.114, allocations: 0.6303 MB / 0.9675 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006943/1.121, allocations: 1.817 MB / 0.9693 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/1.122, allocations: 409.7 kB / 0.9697 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.123, allocations: 219.9 kB / 0.9699 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/1.133, allocations: 2.323 MB / 0.9721 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/1.134, allocations: 0 / 0.9721 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007571/1.134, allocations: 83.94 kB / 0.9722 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/1.135, allocations: 84.03 kB / 0.9723 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009081/1.144, allocations: 1.874 MB / 0.9741 GB, free: 12.91 MB / 0.7169 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.02589/1.17, allocations: 9.294 MB / 0.9832 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008831/1.178, allocations: 1.961 MB / 0.9851 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/1.183, allocations: 1.065 MB / 0.9862 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003241/1.186, allocations: 2.611 MB / 0.9887 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/1.186, allocations: 52.56 kB / 0.9888 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 5.881e-06/1.186, allocations: 0 / 0.9888 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.03175/1.218, allocations: 6.703 MB / 0.9953 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/1.218, allocations: 73.39 kB / 0.9954 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/1.222, allocations: 1.554 MB / 0.9969 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005502/1.223, allocations: 57.7 kB / 0.997 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.224, allocations: 1.073 MB / 0.998 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.225, allocations: 0.6196 MB / 0.9986 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/1.226, allocations: 323.5 kB / 0.9989 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.227, allocations: 305.1 kB / 0.9992 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/1.229, allocations: 0.6949 MB / 0.9999 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/1.231, allocations: 0.8489 MB / 1.001 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/1.236, allocations: 1.577 MB / 1.002 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.236, allocations: 4 kB / 1.002 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008983/1.245, allocations: 2.733 MB / 1.005 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.245, allocations: 12.03 kB / 1.005 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.245, allocations: 8 kB / 1.005 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/1.247, allocations: 0.5661 MB / 1.005 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.249, allocations: 419.5 kB / 1.006 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/1.265, allocations: 10.14 MB / 1.016 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.267, allocations: 87.97 kB / 1.016 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/1.267, allocations: 124 kB / 1.016 GB, free: 15.55 MB / 0.7637 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.00143/1.269, allocations: 389.5 kB / 1.016 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/1.269, allocations: 230.4 kB / 1.017 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.281, allocations: 4.073 MB / 1.021 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.282, allocations: 20 kB / 1.021 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/1.282, allocations: 8 kB / 1.021 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.282, allocations: 7.969 kB / 1.021 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.298, allocations: 5.296 MB / 1.026 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/1.298, allocations: 0 / 1.026 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.301, allocations: 407.7 kB / 1.026 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/1.303, allocations: 0.5748 MB / 1.027 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004956/1.304, allocations: 79.94 kB / 1.027 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3386/1.642, allocations: 10.12 MB / 1.037 GB, free: 317.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.642, allocations: 5.719 kB / 1.037 GB, free: 317.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.652, allocations: 3.774 MB / 1.04 GB, free: 317.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.653, allocations: 451.1 kB / 1.041 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/1.654, allocations: 41.8 kB / 1.041 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.655, allocations: 84.48 kB / 1.041 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/1.656, allocations: 160.3 kB / 1.041 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003305/1.656, allocations: 115 kB / 1.041 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001892/1.658, allocations: 1.057 MB / 1.042 GB, free: 317 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.51e-07/1.658, allocations: 0 / 1.042 GB, free: 317 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003449/1.661, allocations: 0.8813 MB / 1.043 GB, free: 316.9 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.01103/1.673, allocations: 5.283 MB / 1.048 GB, free: 314.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005794/1.678, allocations: 2.701 MB / 1.051 GB, free: 313.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.678, allocations: 0 / 1.051 GB, free: 313.7 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003894/1.682, allocations: 1.91 MB / 1.053 GB, free: 312.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.685, allocations: 0.5665 MB / 1.053 GB, free: 312.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/1.719, allocations: 17.46 MB / 1.07 GB, free: 300.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.72, allocations: 1.594 MB / 1.072 GB, free: 298.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002928/1.723, allocations: 1.445 MB / 1.073 GB, free: 297.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/1.725, allocations: 1.193 MB / 1.074 GB, free: 296.1 MB / 0.7637 GB Notification: Performance of SimCode: time 7.02e-07/1.725, allocations: 0 / 1.074 GB, free: 296.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.845, allocations: 65.02 MB / 1.138 GB, free: 231.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.83, allocations: 18.7 kB / 1.138 GB, free: 231.4 MB / 0.7637 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.847956907004118] Failed to read output from testmodel.py, exit status != 0: 17.960392493056133 17.968224139 16.871652186 Calling exit ...