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.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.001804/0.001805, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002027/0.002027, allocations: 192.6 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.572/1.572, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.9267/0.9267, allocations: 93.71 MB / 390.9 MB, free: 4.637 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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00428/0.004281, allocations: 87.69 kB / 0.5285 GB, free: 40.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1748, allocations: 68.27 MB / 0.5952 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6712/0.8461, allocations: 214.3 MB / 0.8045 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.8668, allocations: 17.42 MB / 0.8215 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.869, allocations: 51.34 kB / 0.8215 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.8714, allocations: 0.6254 MB / 0.8221 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.8774, allocations: 1.741 MB / 0.8238 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.8829, allocations: 1.662 MB / 0.8255 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003372/0.8863, allocations: 1.726 MB / 0.8271 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008506/0.8872, allocations: 299.7 kB / 0.8274 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.8907, allocations: 1.209 MB / 0.8286 GB, free: 0 / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.8924, allocations: 0.6334 MB / 0.8292 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.8929, allocations: 97.94 kB / 0.8293 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008389/0.9013, allocations: 3.42 MB / 0.8327 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.9019, allocations: 247 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.9031, allocations: 0.6243 MB / 0.8335 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0073/0.9104, allocations: 2.383 MB / 0.8358 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9104, allocations: 0 / 0.8358 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9104, allocations: 0 / 0.8358 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.9105, allocations: 0 / 0.8358 GB, free: 12.84 MB / 0.5919 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.004597/0.9151, allocations: 1.904 MB / 0.8377 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9152, allocations: 9.969 kB / 0.8377 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.9154, allocations: 142.1 kB / 0.8378 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.9176, allocations: 295.5 kB / 0.8381 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.9201, allocations: 0.9313 MB / 0.839 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.9204, allocations: 199.2 kB / 0.8392 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.9208, allocations: 95.92 kB / 0.8393 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.9235, allocations: 1.007 MB / 0.8403 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.9236, allocations: 4.469 kB / 0.8403 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.9237, allocations: 35.72 kB / 0.8403 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.9237, allocations: 21.5 kB / 0.8404 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.926, allocations: 0.7793 MB / 0.8411 GB, free: 9.094 MB / 0.5919 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.007701/0.9337, allocations: 4.124 MB / 0.8451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.936, allocations: 0.8524 MB / 0.846 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009135/0.937, allocations: 432 kB / 0.8464 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.9381, allocations: 1.309 MB / 0.8477 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.9382, allocations: 37.66 kB / 0.8477 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.587e-06/0.9382, allocations: 0 / 0.8477 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.006157/0.9444, allocations: 1.935 MB / 0.8496 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.9445, allocations: 60.06 kB / 0.8496 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.9457, allocations: 0.802 MB / 0.8504 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.9459, allocations: 41.7 kB / 0.8505 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.9464, allocations: 0.5089 MB / 0.851 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.9467, allocations: 295 kB / 0.8512 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.947, allocations: 154.6 kB / 0.8514 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9472, allocations: 333.9 kB / 0.8517 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.948, allocations: 317.8 kB / 0.852 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/0.9489, allocations: 387.1 kB / 0.8524 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.9506, allocations: 0.6835 MB / 0.8531 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9506, allocations: 0.5 kB / 0.8531 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003567/0.9542, allocations: 1.238 MB / 0.8543 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9542, allocations: 7.938 kB / 0.8543 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.9543, allocations: 3.984 kB / 0.8543 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009562/0.9552, allocations: 254.3 kB / 0.8545 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.9563, allocations: 203.5 kB / 0.8547 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.9636, allocations: 5.231 MB / 0.8598 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.9646, allocations: 87.48 kB / 0.8599 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.9648, allocations: 55.98 kB / 0.86 GB, free: 4.691 MB / 0.6075 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.0006015/0.9654, allocations: 221.4 kB / 0.8602 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.9658, allocations: 119.2 kB / 0.8603 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/0.9705, allocations: 1.831 MB / 0.8621 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.9706, allocations: 8 kB / 0.8621 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.9706, allocations: 4 kB / 0.8621 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.9706, allocations: 7.922 kB / 0.8621 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.9763, allocations: 2.5 MB / 0.8645 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.9764, allocations: 0 / 0.8645 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.9775, allocations: 195.6 kB / 0.8647 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008787/0.9784, allocations: 250.3 kB / 0.865 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.9785, allocations: 46.59 kB / 0.865 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.9854, allocations: 5.224 MB / 0.8701 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9854, allocations: 10.62 kB / 0.8701 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.9899, allocations: 1.735 MB / 0.8718 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.9905, allocations: 264.1 kB / 0.8721 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.9907, allocations: 23.98 kB / 0.8721 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.9913, allocations: 39.97 kB / 0.8721 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.9915, allocations: 68.91 kB / 0.8722 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.9916, allocations: 55.92 kB / 0.8722 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000843/0.9925, allocations: 0.5591 MB / 0.8728 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9925, allocations: 0 / 0.8728 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001547/0.994, allocations: 482.8 kB / 0.8732 GB, free: 6.57 MB / 0.6231 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.005943/1, allocations: 2.751 MB / 0.8759 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00325/1.003, allocations: 1.246 MB / 0.8771 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.003, allocations: 8.125 kB / 0.8772 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.005, allocations: 0.9071 MB / 0.878 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/1.007, allocations: 274.6 kB / 0.8783 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.026, allocations: 8.628 MB / 0.8867 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009141/1.027, allocations: 1.076 MB / 0.8878 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001687/1.029, allocations: 0.6411 MB / 0.8884 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.03, allocations: 0.5227 MB / 0.8889 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/1.03, allocations: 0 / 0.8889 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09337/1.124, allocations: 30.82 MB / 0.919 GB, free: 7.801 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.5, allocations: 8.047 kB / 0.919 GB, free: 7.793 MB / 0.67 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.4754912101198] Failed to read output from testmodel.py, exit status != 0: 14.613662390969694 14.637853801 13.723555377 Calling exit ...