Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.001797/0.001797, allocations: 117.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.001438/0.001438, allocations: 215 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.52/1.52, 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.6578/0.6578, allocations: 94.58 MB / 404.1 MB, free: 10.97 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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.003688/0.003688, allocations: 83.88 kB / 0.5506 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4573, allocations: 73.03 MB / 0.6219 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3015/0.7588, allocations: 215.2 MB / 0.8321 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4006/1.159, allocations: 17.47 MB / 0.8491 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/1.16, allocations: 74.12 kB / 0.8492 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/1.162, allocations: 0.6163 MB / 0.8498 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003937/1.166, allocations: 1.78 MB / 0.8515 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/1.17, allocations: 1.676 MB / 0.8532 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001946/1.172, allocations: 1.719 MB / 0.8549 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/1.172, allocations: 186.6 kB / 0.855 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/1.174, allocations: 1.241 MB / 0.8562 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/1.175, allocations: 0.6455 MB / 0.8569 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.175, allocations: 92.44 kB / 0.857 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005753/1.181, allocations: 3.491 MB / 0.8604 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/1.181, allocations: 246.1 kB / 0.8606 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007001/1.182, allocations: 0.6191 MB / 0.8612 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/1.187, allocations: 2.398 MB / 0.8636 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.187, allocations: 3.703 kB / 0.8636 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/1.187, allocations: 0 / 0.8636 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.187, allocations: 0.8438 kB / 0.8636 GB, free: 1.574 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003532/1.19, allocations: 1.898 MB / 0.8654 GB, free: 16.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.191, allocations: 8.656 kB / 0.8654 GB, free: 16.59 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.582e-05/1.191, allocations: 27.56 kB / 0.8654 GB, free: 16.59 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/1.191, allocations: 145 kB / 0.8656 GB, free: 16.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.193, allocations: 296.6 kB / 0.8659 GB, free: 16.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/1.195, allocations: 0.9399 MB / 0.8668 GB, free: 16.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/1.195, allocations: 200.2 kB / 0.867 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.195, allocations: 90.03 kB / 0.8671 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/1.197, allocations: 1.004 MB / 0.868 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.197, allocations: 0 / 0.868 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-05/1.197, allocations: 40.56 kB / 0.8681 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.197, allocations: 22.83 kB / 0.8681 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/1.199, allocations: 0.784 MB / 0.8689 GB, free: 15.84 MB / 0.67 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.005612/1.204, allocations: 4.107 MB / 0.8729 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/1.206, allocations: 0.8155 MB / 0.8737 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/1.207, allocations: 403.8 kB / 0.8741 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/1.208, allocations: 1.298 MB / 0.8753 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/1.208, allocations: 42.28 kB / 0.8754 GB, free: 11.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.545e-06/1.208, allocations: 0.9062 kB / 0.8754 GB, free: 11.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.00519/1.213, allocations: 1.925 MB / 0.8773 GB, free: 11.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/1.213, allocations: 60.81 kB / 0.8773 GB, free: 11.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/1.214, allocations: 0.8087 MB / 0.8781 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/1.214, allocations: 38.11 kB / 0.8781 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/1.215, allocations: 0.5143 MB / 0.8786 GB, free: 11.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/1.215, allocations: 291.3 kB / 0.8789 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.215, allocations: 157.4 kB / 0.8791 GB, free: 10.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.215, allocations: 335.2 kB / 0.8794 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/1.216, allocations: 309.9 kB / 0.8797 GB, free: 10.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/1.217, allocations: 386 kB / 0.88 GB, free: 10.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.218, allocations: 0.6942 MB / 0.8807 GB, free: 10.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.218, allocations: 1.531 kB / 0.8807 GB, free: 10.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00302/1.221, allocations: 1.229 MB / 0.8819 GB, free: 10.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.221, allocations: 6.25 kB / 0.8819 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.221, allocations: 0 / 0.8819 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/1.222, allocations: 250.2 kB / 0.8822 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/1.223, allocations: 199 kB / 0.8824 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/1.229, allocations: 5.232 MB / 0.8875 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/1.23, allocations: 88.75 kB / 0.8876 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.23, allocations: 56.33 kB / 0.8876 GB, free: 6.207 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004442/1.23, allocations: 229.1 kB / 0.8878 GB, free: 6.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.23, allocations: 116.4 kB / 0.8879 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/1.234, allocations: 1.835 MB / 0.8897 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/1.234, allocations: 9.125 kB / 0.8897 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.234, allocations: 2.938 kB / 0.8897 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.234, allocations: 7.641 kB / 0.8897 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/1.239, allocations: 2.489 MB / 0.8922 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.239, allocations: 3.594 kB / 0.8922 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/1.24, allocations: 196.9 kB / 0.8924 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008175/1.241, allocations: 251.6 kB / 0.8926 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/1.241, allocations: 36.69 kB / 0.8926 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006328/1.247, allocations: 5.225 MB / 0.8977 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.247, allocations: 3.188 kB / 0.8978 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/1.251, allocations: 1.733 MB / 0.8994 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/1.252, allocations: 260.8 kB / 0.8997 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.252, allocations: 22.67 kB / 0.8997 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/1.253, allocations: 44.67 kB / 0.8998 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.253, allocations: 80.23 kB / 0.8998 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/1.253, allocations: 46.55 kB / 0.8999 GB, free: 0.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000661/1.253, allocations: 0.5557 MB / 0.9004 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.253, allocations: 0 / 0.9004 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001561/1.255, allocations: 488.5 kB / 0.9009 GB, free: 0.5195 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005003/1.26, allocations: 2.752 MB / 0.9036 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002605/1.263, allocations: 1.198 MB / 0.9047 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.263, allocations: 0.7188 kB / 0.9047 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/1.264, allocations: 0.8835 MB / 0.9056 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.266, allocations: 260.1 kB / 0.9059 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.281, allocations: 8.625 MB / 0.9143 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/1.281, allocations: 1.083 MB / 0.9153 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001213/1.283, allocations: 0.641 MB / 0.916 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/1.283, allocations: 0.5208 MB / 0.9165 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of SimCode: time 1.252e-06/1.283, allocations: 1.094 kB / 0.9165 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/1.357, allocations: 31.1 MB / 0.9468 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.47, allocations: 12.62 kB / 0.9469 GB, free: 14.8 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.12101464800071] Failed to read output from testmodel.py, exit status != 0: 14.641803117992822 14.663688131 13.473419093 Calling exit ...