Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001807/0.001807, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002219/0.002219, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.638/1.638, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.6451/0.6451, allocations: 94.57 MB / 404.1 MB, free: 10.93 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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002446/0.002446, allocations: 87.88 kB / 0.5506 GB, free: 5.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3814, allocations: 73.03 MB / 0.6219 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6385/1.02, allocations: 236 MB / 0.8523 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02075/1.041, allocations: 22.4 MB / 0.8742 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/1.043, allocations: 88.25 kB / 0.8743 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/1.045, allocations: 0.7961 MB / 0.8751 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006452/1.052, allocations: 2.081 MB / 0.8771 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/1.057, allocations: 2.186 MB / 0.8792 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003339/1.061, allocations: 2.246 MB / 0.8814 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/1.061, allocations: 270.2 kB / 0.8817 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/1.064, allocations: 1.447 MB / 0.8831 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/1.065, allocations: 0.8475 MB / 0.8839 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/1.066, allocations: 134.5 kB / 0.884 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007549/1.073, allocations: 4.156 MB / 0.8881 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/1.074, allocations: 348.5 kB / 0.8884 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/1.075, allocations: 0.8224 MB / 0.8892 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009067/1.084, allocations: 3.055 MB / 0.8922 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.084, allocations: 0 / 0.8922 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.876e-06/1.084, allocations: 0.9688 kB / 0.8922 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.522e-05/1.084, allocations: 0 / 0.8922 GB, free: 0.7539 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005682/1.09, allocations: 2.397 MB / 0.8946 GB, free: 15.58 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.09, allocations: 9.438 kB / 0.8946 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.534e-05/1.09, allocations: 34.7 kB / 0.8946 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/1.09, allocations: 189 kB / 0.8948 GB, free: 15.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/1.093, allocations: 430.6 kB / 0.8952 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/1.096, allocations: 1.135 MB / 0.8963 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/1.096, allocations: 349.5 kB / 0.8966 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/1.096, allocations: 129 kB / 0.8968 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/1.1, allocations: 1.448 MB / 0.8982 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.1, allocations: 3 kB / 0.8982 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.1, allocations: 49.72 kB / 0.8982 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/1.1, allocations: 36.31 kB / 0.8983 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/1.103, allocations: 1.187 MB / 0.8994 GB, free: 14.59 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.008634/1.111, allocations: 5.456 MB / 0.9048 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/1.114, allocations: 1.247 MB / 0.906 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.116, allocations: 0.6645 MB / 0.9066 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/1.118, allocations: 1.792 MB / 0.9084 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.118, allocations: 42.25 kB / 0.9084 GB, free: 9.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 4.538e-06/1.118, allocations: 5.875 kB / 0.9084 GB, free: 9.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.009542/1.127, allocations: 3.052 MB / 0.9114 GB, free: 9.031 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.127, allocations: 62.44 kB / 0.9115 GB, free: 8.969 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/1.129, allocations: 0.9099 MB / 0.9123 GB, free: 8.824 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/1.129, allocations: 48.33 kB / 0.9124 GB, free: 8.793 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.13, allocations: 0.6334 MB / 0.913 GB, free: 8.555 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007173/1.131, allocations: 416.6 kB / 0.9134 GB, free: 8.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/1.131, allocations: 209.5 kB / 0.9136 GB, free: 8.258 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002697/1.132, allocations: 348.2 kB / 0.9139 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.133, allocations: 0.4907 MB / 0.9144 GB, free: 7.945 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.134, allocations: 0.5794 MB / 0.915 GB, free: 7.883 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.137, allocations: 1.057 MB / 0.916 GB, free: 7.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.137, allocations: 0 / 0.916 GB, free: 7.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006216/1.143, allocations: 1.919 MB / 0.9179 GB, free: 7.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.143, allocations: 5.25 kB / 0.9179 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.143, allocations: 2.969 kB / 0.9179 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.145, allocations: 418.8 kB / 0.9183 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.147, allocations: 300.1 kB / 0.9186 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.159, allocations: 7.423 MB / 0.9258 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.16, allocations: 127.4 kB / 0.926 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/1.161, allocations: 84.58 kB / 0.926 GB, free: 1.82 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008123/1.161, allocations: 260.9 kB / 0.9263 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/1.162, allocations: 135.4 kB / 0.9264 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007292/1.169, allocations: 2.717 MB / 0.9291 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.169, allocations: 11.28 kB / 0.9291 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.169, allocations: 6.531 kB / 0.9291 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/1.169, allocations: 11.16 kB / 0.9291 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.179, allocations: 3.591 MB / 0.9326 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.179, allocations: 4 kB / 0.9326 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.181, allocations: 292 kB / 0.9329 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/1.183, allocations: 422.6 kB / 0.9333 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/1.183, allocations: 46.41 kB / 0.9333 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.194, allocations: 7.427 MB / 0.9406 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.194, allocations: 0 / 0.9406 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007795/1.202, allocations: 2.613 MB / 0.9431 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/1.203, allocations: 323.7 kB / 0.9434 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/1.203, allocations: 24 kB / 0.9435 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.205, allocations: 71.92 kB / 0.9435 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/1.205, allocations: 100.1 kB / 0.9436 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.205, allocations: 67.97 kB / 0.9437 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001195/1.206, allocations: 0.6312 MB / 0.9443 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.206, allocations: 0 / 0.9443 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002446/1.209, allocations: 0.6118 MB / 0.9449 GB, free: 3.254 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.00926/1.218, allocations: 3.727 MB / 0.9485 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00509/1.223, allocations: 1.832 MB / 0.9503 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.223, allocations: 4.125 kB / 0.9503 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/1.226, allocations: 1.337 MB / 0.9516 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.228, allocations: 307 kB / 0.9519 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/1.254, allocations: 11.33 MB / 0.963 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.255, allocations: 1.21 MB / 0.9642 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00205/1.257, allocations: 0.8387 MB / 0.965 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.258, allocations: 0.6827 MB / 0.9657 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of SimCode: time 9.71e-07/1.258, allocations: 0 / 0.9657 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.394, allocations: 39.07 MB / 1.004 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.92, allocations: 10.59 kB / 1.004 GB, free: 7.094 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.641557385970373] Failed to read output from testmodel.py, exit status != 0: 15.086231623019557 15.112555083 14.023250727 Calling exit ...