Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.00194/0.00194, allocations: 117.4 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.002381/0.002381, allocations: 214.3 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.61/1.61, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.6829/0.6829, allocations: 100.3 MB / 409.8 MB, free: 5.398 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,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.002601/0.002601, allocations: 87.88 kB / 0.5589 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4366, allocations: 74.42 MB / 0.6316 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.7176/1.154, allocations: 215.2 MB / 0.8417 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0195/1.174, allocations: 17.49 MB / 0.8588 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/1.176, allocations: 72.03 kB / 0.8589 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/1.178, allocations: 0.6145 MB / 0.8595 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/1.183, allocations: 1.778 MB / 0.8612 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/1.187, allocations: 1.678 MB / 0.8628 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002448/1.19, allocations: 1.725 MB / 0.8645 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/1.19, allocations: 190.3 kB / 0.8647 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/1.193, allocations: 1.247 MB / 0.8659 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/1.194, allocations: 0.6501 MB / 0.8666 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.194, allocations: 93.47 kB / 0.8667 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/1.2, allocations: 3.482 MB / 0.8701 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/1.2, allocations: 255 kB / 0.8703 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000782/1.201, allocations: 0.6224 MB / 0.8709 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/1.205, allocations: 2.392 MB / 0.8732 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.205, allocations: 4.25 kB / 0.8732 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/1.205, allocations: 0 / 0.8732 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.493e-05/1.205, allocations: 0.9375 kB / 0.8732 GB, free: 1.402 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.004305/1.21, allocations: 1.904 MB / 0.8751 GB, free: 16.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.21, allocations: 11.62 kB / 0.8751 GB, free: 16.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.478e-05/1.21, allocations: 24.09 kB / 0.8751 GB, free: 16.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/1.21, allocations: 143.7 kB / 0.8753 GB, free: 16.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/1.212, allocations: 294.3 kB / 0.8756 GB, free: 16.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.214, allocations: 0.9398 MB / 0.8765 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/1.214, allocations: 193.8 kB / 0.8767 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.214, allocations: 97.91 kB / 0.8768 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/1.216, allocations: 1.007 MB / 0.8777 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.216, allocations: 5.875 kB / 0.8777 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/1.216, allocations: 37.22 kB / 0.8778 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/1.216, allocations: 20.59 kB / 0.8778 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/1.218, allocations: 0.7912 MB / 0.8786 GB, free: 15.66 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.005783/1.224, allocations: 4.118 MB / 0.8826 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/1.226, allocations: 0.816 MB / 0.8834 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/1.227, allocations: 400.7 kB / 0.8838 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.228, allocations: 1.297 MB / 0.885 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.228, allocations: 48.22 kB / 0.8851 GB, free: 11.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.386e-06/1.228, allocations: 3.938 kB / 0.8851 GB, free: 11.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.005684/1.234, allocations: 1.934 MB / 0.887 GB, free: 11.33 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.234, allocations: 64 kB / 0.887 GB, free: 11.26 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.235, allocations: 0.8022 MB / 0.8878 GB, free: 11.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.235, allocations: 39.48 kB / 0.8879 GB, free: 11.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.235, allocations: 0.5147 MB / 0.8884 GB, free: 10.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/1.235, allocations: 295.3 kB / 0.8886 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/1.236, allocations: 156.6 kB / 0.8888 GB, free: 10.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.236, allocations: 333.2 kB / 0.8891 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/1.237, allocations: 313.5 kB / 0.8894 GB, free: 10.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/1.237, allocations: 391.2 kB / 0.8898 GB, free: 10.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/1.239, allocations: 0.6893 MB / 0.8905 GB, free: 10.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.239, allocations: 0.8125 kB / 0.8905 GB, free: 10.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00325/1.242, allocations: 1.246 MB / 0.8917 GB, free: 10.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.242, allocations: 5.062 kB / 0.8917 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.242, allocations: 4 kB / 0.8917 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/1.243, allocations: 247.9 kB / 0.8919 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.244, allocations: 201.6 kB / 0.8921 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/1.25, allocations: 5.235 MB / 0.8972 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/1.251, allocations: 90.98 kB / 0.8973 GB, free: 5.984 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.251, allocations: 51.62 kB / 0.8974 GB, free: 5.984 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.0004929/1.252, allocations: 232.5 kB / 0.8976 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.252, allocations: 115.8 kB / 0.8977 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/1.256, allocations: 1.817 MB / 0.8995 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.256, allocations: 7.094 kB / 0.8995 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.256, allocations: 4.031 kB / 0.8995 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.256, allocations: 5.703 kB / 0.8995 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/1.261, allocations: 2.499 MB / 0.9019 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.262, allocations: 1.062 kB / 0.9019 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.263, allocations: 193.9 kB / 0.9021 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008841/1.263, allocations: 253.4 kB / 0.9023 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.264, allocations: 34.72 kB / 0.9024 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/1.27, allocations: 5.234 MB / 0.9075 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.27, allocations: 3.344 kB / 0.9075 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/1.274, allocations: 1.717 MB / 0.9092 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/1.275, allocations: 254.8 kB / 0.9094 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.275, allocations: 28.98 kB / 0.9094 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/1.276, allocations: 43.5 kB / 0.9095 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.276, allocations: 73.12 kB / 0.9096 GB, free: 456 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/1.276, allocations: 56.97 kB / 0.9096 GB, free: 452 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007683/1.277, allocations: 0.5585 MB / 0.9102 GB, free: 340 kB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.277, allocations: 0 / 0.9102 GB, free: 340 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001529/1.278, allocations: 484 kB / 0.9106 GB, free: 256 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.005512/1.284, allocations: 2.734 MB / 0.9133 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002962/1.287, allocations: 1.202 MB / 0.9145 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.287, allocations: 0 / 0.9145 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.289, allocations: 0.879 MB / 0.9153 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.29, allocations: 262.9 kB / 0.9156 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.309, allocations: 8.633 MB / 0.924 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.31, allocations: 1.08 MB / 0.9251 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001606/1.311, allocations: 0.636 MB / 0.9257 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/1.312, allocations: 0.5192 MB / 0.9262 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.312, allocations: 4 kB / 0.9262 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/1.386, allocations: 30.93 MB / 0.9564 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.37, allocations: 7.922 kB / 0.9564 GB, free: 11.32 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.11121980799362] Failed to read output from testmodel.py, exit status != 0: 14.532495971012395 14.554701477 13.344584512 Calling exit ...