Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001714/0.001714, allocations: 118.9 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.002188/0.002188, allocations: 211.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.519/1.519, 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.6307/0.6307, allocations: 94.57 MB / 404.1 MB, free: 10.94 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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_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.002475/0.002475, allocations: 83.88 kB / 0.5506 GB, free: 5.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4318, allocations: 73.03 MB / 0.6219 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.2652/0.6971, allocations: 215.2 MB / 0.8321 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4063/1.103, allocations: 17.47 MB / 0.8491 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/1.104, allocations: 73.56 kB / 0.8492 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/1.106, allocations: 0.6143 MB / 0.8498 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/1.111, allocations: 1.782 MB / 0.8515 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/1.115, allocations: 1.681 MB / 0.8532 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002034/1.117, allocations: 1.721 MB / 0.8549 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/1.117, allocations: 184.6 kB / 0.855 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/1.119, allocations: 1.245 MB / 0.8563 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/1.12, allocations: 0.6467 MB / 0.8569 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.12, allocations: 96.75 kB / 0.857 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005839/1.126, allocations: 3.483 MB / 0.8604 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/1.126, allocations: 253.9 kB / 0.8606 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007896/1.127, allocations: 0.6194 MB / 0.8612 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/1.131, allocations: 2.402 MB / 0.8636 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.131, allocations: 0 / 0.8636 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/1.131, allocations: 0.875 kB / 0.8636 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.279e-05/1.132, allocations: 0 / 0.8636 GB, free: 1.57 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.003424/1.135, allocations: 1.899 MB / 0.8654 GB, free: 16.58 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.135, allocations: 13.97 kB / 0.8654 GB, free: 16.58 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.022e-05/1.135, allocations: 24.88 kB / 0.8655 GB, free: 16.58 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/1.135, allocations: 143.9 kB / 0.8656 GB, free: 16.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.137, allocations: 296.9 kB / 0.8659 GB, free: 16.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.139, allocations: 0.9427 MB / 0.8668 GB, free: 16.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/1.139, allocations: 196.7 kB / 0.867 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/1.139, allocations: 91.28 kB / 0.8671 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/1.141, allocations: 1.009 MB / 0.8681 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.141, allocations: 3.406 kB / 0.8681 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/1.141, allocations: 35.06 kB / 0.8681 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/1.141, allocations: 23.88 kB / 0.8681 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/1.143, allocations: 0.7889 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.005159/1.148, allocations: 4.122 MB / 0.8729 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/1.15, allocations: 0.8072 MB / 0.8737 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/1.15, allocations: 402.9 kB / 0.8741 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.151, allocations: 1.308 MB / 0.8754 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.151, allocations: 38.03 kB / 0.8754 GB, free: 11.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.516e-06/1.151, allocations: 1.094 kB / 0.8754 GB, free: 11.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.005451/1.157, allocations: 1.934 MB / 0.8773 GB, free: 11.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.157, allocations: 66.81 kB / 0.8774 GB, free: 11.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.158, allocations: 0.7989 MB / 0.8782 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/1.158, allocations: 38.83 kB / 0.8782 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/1.158, allocations: 0.5181 MB / 0.8787 GB, free: 11.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.159, allocations: 291.3 kB / 0.879 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/1.159, allocations: 153.4 kB / 0.8791 GB, free: 10.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.159, allocations: 334.7 kB / 0.8794 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/1.16, allocations: 316.8 kB / 0.8797 GB, free: 10.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/1.161, allocations: 389 kB / 0.8801 GB, free: 10.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.162, allocations: 0.7002 MB / 0.8808 GB, free: 10.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.162, allocations: 0 / 0.8808 GB, free: 10.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003505/1.166, allocations: 1.235 MB / 0.882 GB, free: 10.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.166, allocations: 7.375 kB / 0.882 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.166, allocations: 1.031 kB / 0.882 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/1.167, allocations: 261 kB / 0.8823 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/1.168, allocations: 200.4 kB / 0.8824 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006479/1.174, allocations: 5.233 MB / 0.8876 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/1.175, allocations: 87.28 kB / 0.8876 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.175, allocations: 55.31 kB / 0.8877 GB, free: 6.203 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.0004685/1.176, allocations: 223.3 kB / 0.8879 GB, free: 6.086 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/1.176, allocations: 115.9 kB / 0.888 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/1.18, allocations: 1.826 MB / 0.8898 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.18, allocations: 7.125 kB / 0.8898 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.18, allocations: 4.094 kB / 0.8898 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.18, allocations: 6 kB / 0.8898 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/1.185, allocations: 2.484 MB / 0.8922 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.185, allocations: 1.438 kB / 0.8922 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.186, allocations: 199.9 kB / 0.8924 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007869/1.187, allocations: 250.5 kB / 0.8927 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/1.187, allocations: 37.84 kB / 0.8927 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006228/1.193, allocations: 5.225 MB / 0.8978 GB, free: 1.211 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.193, allocations: 6.594 kB / 0.8978 GB, free: 1.211 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/1.197, allocations: 1.729 MB / 0.8995 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/1.197, allocations: 266.6 kB / 0.8998 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/1.198, allocations: 17.62 kB / 0.8998 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/1.198, allocations: 41.89 kB / 0.8998 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.198, allocations: 78.98 kB / 0.8999 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/1.198, allocations: 49.06 kB / 0.8999 GB, free: 0.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000681/1.199, allocations: 0.5594 MB / 0.9005 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.199, allocations: 0 / 0.9005 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001602/1.201, allocations: 484.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 (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.005623/1.206, allocations: 2.73 MB / 0.9036 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002898/1.209, allocations: 1.206 MB / 0.9048 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.209, allocations: 0 / 0.9048 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.211, allocations: 0.8778 MB / 0.9056 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.213, allocations: 273.6 kB / 0.9059 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.229, allocations: 8.62 MB / 0.9143 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/1.23, allocations: 1.081 MB / 0.9154 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001499/1.231, allocations: 0.6369 MB / 0.916 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/1.232, allocations: 0.5198 MB / 0.9165 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of SimCode: time 1.432e-06/1.232, allocations: 0 / 0.9165 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.335, allocations: 30.93 MB / 0.9467 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.41, allocations: 12.58 kB / 0.9467 GB, free: 14.96 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.013298520992976] Failed to read output from testmodel.py, exit status != 0: 14.591872552991845 14.611389669 13.475884996 Calling exit ...