Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001935/0.001935, 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.002298/0.002298, allocations: 209.5 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.58/1.58, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7276/0.7276, 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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_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.002466/0.002466, allocations: 75.89 kB / 0.5589 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.426, allocations: 74.43 MB / 0.6315 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6578/1.084, allocations: 215.2 MB / 0.8417 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01686/1.101, allocations: 17.49 MB / 0.8588 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/1.102, allocations: 69.75 kB / 0.8589 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.104, allocations: 0.6199 MB / 0.8595 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/1.108, allocations: 1.773 MB / 0.8612 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/1.113, allocations: 1.679 MB / 0.8628 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002192/1.115, allocations: 1.711 MB / 0.8645 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/1.115, allocations: 196.3 kB / 0.8647 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/1.118, allocations: 1.242 MB / 0.8659 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/1.119, allocations: 0.6448 MB / 0.8665 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/1.119, allocations: 96.44 kB / 0.8666 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/1.125, allocations: 3.492 MB / 0.87 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000396/1.125, allocations: 250.4 kB / 0.8703 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009952/1.126, allocations: 0.6207 MB / 0.8709 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005663/1.132, allocations: 2.395 MB / 0.8732 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.132, allocations: 0 / 0.8732 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/1.132, allocations: 0.9688 kB / 0.8732 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.185e-05/1.132, allocations: 0 / 0.8732 GB, free: 1.352 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.003637/1.136, allocations: 1.904 MB / 0.8751 GB, free: 16.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.136, allocations: 9.062 kB / 0.8751 GB, free: 16.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.053e-05/1.136, allocations: 28.59 kB / 0.8751 GB, free: 16.35 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/1.136, allocations: 139.8 kB / 0.8753 GB, free: 16.31 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/1.138, allocations: 293.3 kB / 0.8755 GB, free: 16.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/1.14, allocations: 0.9425 MB / 0.8765 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/1.14, allocations: 194.3 kB / 0.8766 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.14, allocations: 94.23 kB / 0.8767 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.142, allocations: 1.007 MB / 0.8777 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.142, allocations: 0 / 0.8777 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/1.142, allocations: 37.53 kB / 0.8778 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/1.142, allocations: 23.44 kB / 0.8778 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/1.144, allocations: 0.7839 MB / 0.8785 GB, free: 15.61 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.005583/1.149, allocations: 4.114 MB / 0.8826 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/1.151, allocations: 0.8035 MB / 0.8833 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/1.152, allocations: 398.8 kB / 0.8837 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.153, allocations: 1.306 MB / 0.885 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/1.153, allocations: 44.17 kB / 0.885 GB, free: 11.71 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 4.698e-06/1.153, allocations: 0.9062 kB / 0.885 GB, free: 11.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.00599/1.159, allocations: 1.922 MB / 0.8869 GB, free: 11.28 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/1.159, allocations: 64.41 kB / 0.887 GB, free: 11.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.161, allocations: 0.8013 MB / 0.8878 GB, free: 11.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/1.161, allocations: 37.39 kB / 0.8878 GB, free: 11.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/1.161, allocations: 0.5201 MB / 0.8883 GB, free: 10.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.161, allocations: 285.6 kB / 0.8886 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/1.162, allocations: 160.6 kB / 0.8887 GB, free: 10.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.162, allocations: 330.4 kB / 0.889 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/1.162, allocations: 314.8 kB / 0.8893 GB, free: 10.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/1.163, allocations: 391.2 kB / 0.8897 GB, free: 10.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/1.165, allocations: 0.6853 MB / 0.8904 GB, free: 10.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.165, allocations: 0.875 kB / 0.8904 GB, free: 10.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003125/1.168, allocations: 1.237 MB / 0.8916 GB, free: 10.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.168, allocations: 7.125 kB / 0.8916 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.168, allocations: 3.469 kB / 0.8916 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/1.169, allocations: 244.2 kB / 0.8918 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/1.17, allocations: 204.7 kB / 0.892 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/1.176, allocations: 5.227 MB / 0.8971 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.177, allocations: 94.08 kB / 0.8972 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.178, allocations: 51.94 kB / 0.8973 GB, free: 5.934 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.0006335/1.178, allocations: 230.9 kB / 0.8975 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/1.179, allocations: 119 kB / 0.8976 GB, free: 5.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.183, allocations: 1.825 MB / 0.8994 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.183, allocations: 8.531 kB / 0.8994 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.183, allocations: 3.406 kB / 0.8994 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.183, allocations: 5.812 kB / 0.8994 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/1.189, allocations: 2.503 MB / 0.9019 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.189, allocations: 1.25 kB / 0.9019 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.19, allocations: 202.6 kB / 0.9021 GB, free: 5.012 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008597/1.191, allocations: 250 kB / 0.9023 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.191, allocations: 36.44 kB / 0.9023 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/1.198, allocations: 5.241 MB / 0.9074 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.198, allocations: 6.75 kB / 0.9075 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/1.202, allocations: 1.719 MB / 0.9091 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/1.202, allocations: 259.7 kB / 0.9094 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.203, allocations: 21.72 kB / 0.9094 GB, free: 396 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/1.203, allocations: 37.78 kB / 0.9094 GB, free: 396 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.203, allocations: 82 kB / 0.9095 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/1.203, allocations: 48.95 kB / 0.9096 GB, free: 392 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007184/1.204, allocations: 0.5586 MB / 0.9101 GB, free: 280 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 4 kB / 0.9101 GB, free: 276 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001564/1.206, allocations: 482 kB / 0.9106 GB, free: 196 kB / 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.005144/1.211, allocations: 2.733 MB / 0.9132 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.214, allocations: 1.198 MB / 0.9144 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.214, allocations: 0 / 0.9144 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.215, allocations: 0.8857 MB / 0.9153 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/1.217, allocations: 274.6 kB / 0.9155 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.233, allocations: 8.613 MB / 0.9239 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/1.234, allocations: 1.08 MB / 0.925 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001737/1.236, allocations: 0.6403 MB / 0.9256 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009145/1.237, allocations: 0.5278 MB / 0.9261 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of SimCode: time 1.382e-06/1.237, allocations: 0 / 0.9261 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08265/1.319, allocations: 31.11 MB / 0.9565 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.51, allocations: 15.84 kB / 0.9565 GB, free: 11.1 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.312670597981196] Failed to read output from testmodel.py, exit status != 0: 14.671763224992901 14.685652083999999 13.550359278 Calling exit ...