Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001774/0.001774, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.002242/0.002242, allocations: 212 kB / 20.13 MB, free: 2.949 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6946/0.6946, allocations: 100.3 MB / 409.8 MB, free: 5.383 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_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.002562/0.002562, allocations: 84.28 kB / 0.5589 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4715, allocations: 74.42 MB / 0.6316 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7181/1.19, allocations: 309.2 MB / 0.9335 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04562/1.235, allocations: 38.17 MB / 0.9707 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/1.239, allocations: 150.3 kB / 0.9709 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004746/1.243, allocations: 1.415 MB / 0.9723 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.254, allocations: 3.422 MB / 0.9756 GB, free: 8.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.264, allocations: 3.441 MB / 0.979 GB, free: 6.043 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007057/1.271, allocations: 3.829 MB / 0.9827 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/1.273, allocations: 0.5241 MB / 0.9832 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/1.279, allocations: 2.453 MB / 0.9856 GB, free: 340 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/1.282, allocations: 1.5 MB / 0.9871 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007908/1.283, allocations: 236 kB / 0.9873 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/1.298, allocations: 6.818 MB / 0.994 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.3, allocations: 0.5808 MB / 0.9945 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002787/1.302, allocations: 1.405 MB / 0.9959 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01748/1.32, allocations: 5.062 MB / 1.001 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/1.32, allocations: 8 kB / 1.001 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.739e-06/1.32, allocations: 0 / 1.001 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001683/1.32, allocations: 0 / 1.001 GB, free: 1.688 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.01101/1.331, allocations: 3.788 MB / 1.005 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.331, allocations: 8.031 kB / 1.005 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.368e-05/1.331, allocations: 52 kB / 1.005 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004718/1.332, allocations: 294.5 kB / 1.005 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/1.337, allocations: 0.6304 MB / 1.006 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/1.341, allocations: 1.816 MB / 1.007 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/1.341, allocations: 417.4 kB / 1.008 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004731/1.342, allocations: 212 kB / 1.008 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/1.347, allocations: 2.315 MB / 1.01 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.347, allocations: 0 / 1.01 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/1.347, allocations: 95.28 kB / 1.01 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.838e-05/1.347, allocations: 72.05 kB / 1.01 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/1.352, allocations: 1.878 MB / 1.012 GB, free: 5.941 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.01594/1.368, allocations: 9.292 MB / 1.021 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004614/1.373, allocations: 1.855 MB / 1.023 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/1.375, allocations: 0.9817 MB / 1.024 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002221/1.377, allocations: 2.612 MB / 1.027 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/1.377, allocations: 56.5 kB / 1.027 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.258e-06/1.377, allocations: 0 / 1.027 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.0269/1.404, allocations: 6.685 MB / 1.033 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/1.404, allocations: 73.41 kB / 1.033 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/1.408, allocations: 1.557 MB / 1.035 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/1.409, allocations: 57.7 kB / 1.035 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.41, allocations: 1.065 MB / 1.036 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.411, allocations: 0.6225 MB / 1.036 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/1.412, allocations: 327.5 kB / 1.037 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.412, allocations: 305.1 kB / 1.037 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/1.414, allocations: 0.6988 MB / 1.038 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.417, allocations: 0.8644 MB / 1.039 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005809/1.423, allocations: 1.573 MB / 1.04 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.423, allocations: 4 kB / 1.04 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01157/1.434, allocations: 2.717 MB / 1.043 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/1.434, allocations: 8 kB / 1.043 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.434, allocations: 0 / 1.043 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/1.437, allocations: 0.5574 MB / 1.043 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.44, allocations: 427.5 kB / 1.044 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/1.46, allocations: 10.13 MB / 1.054 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.462, allocations: 92.08 kB / 1.054 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/1.463, allocations: 123.9 kB / 1.054 GB, free: 8.922 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.001444/1.464, allocations: 389.4 kB / 1.054 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.465, allocations: 234.4 kB / 1.054 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.48, allocations: 4.051 MB / 1.058 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.48, allocations: 20 kB / 1.058 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.48, allocations: 7.984 kB / 1.058 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/1.48, allocations: 11.97 kB / 1.058 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.498, allocations: 5.285 MB / 1.064 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.498, allocations: 3.938 kB / 1.064 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/1.501, allocations: 411.8 kB / 1.064 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/1.504, allocations: 0.5684 MB / 1.064 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.504, allocations: 75.94 kB / 1.065 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.521, allocations: 10.13 MB / 1.074 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.521, allocations: 4.031 kB / 1.074 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.531, allocations: 3.765 MB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.532, allocations: 451.2 kB / 1.079 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/1.533, allocations: 40 kB / 1.079 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.534, allocations: 88.03 kB / 1.079 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/1.535, allocations: 157.7 kB / 1.079 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.535, allocations: 115.9 kB / 1.079 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001944/1.537, allocations: 1.051 MB / 1.08 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/1.537, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003367/1.54, allocations: 0.897 MB / 1.081 GB, free: 12.3 MB / 0.7794 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.01277/1.553, allocations: 5.232 MB / 1.086 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006749/1.56, allocations: 2.605 MB / 1.089 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.56, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00452/1.564, allocations: 1.833 MB / 1.09 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.568, allocations: 0.5806 MB / 1.091 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04482/1.613, allocations: 17.42 MB / 1.108 GB, free: 204 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.614, allocations: 1.589 MB / 1.109 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003186/1.617, allocations: 1.456 MB / 1.111 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.619, allocations: 1.194 MB / 1.112 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/1.619, allocations: 0 / 1.112 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4588/2.078, allocations: 65.52 MB / 1.176 GB, free: 369 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.93, allocations: 8.844 kB / 1.176 GB, free: 369 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.66713111998979] Failed to read output from testmodel.py, exit status != 0: 18.119220294989645 18.136945598 16.813152778 Calling exit ...