Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001391/0.001391, 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.001514/0.001514, 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.6139/0.6139, allocations: 94.58 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.002629/0.002629, allocations: 83.88 kB / 0.5506 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4126, allocations: 73.03 MB / 0.6219 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2447/0.6572, allocations: 202.7 MB / 0.8198 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.6799, allocations: 15.12 MB / 0.8346 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.6813, allocations: 67.38 kB / 0.8346 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.6829, allocations: 0.5161 MB / 0.8351 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.384/1.067, allocations: 1.349 MB / 0.8365 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/1.071, allocations: 1.476 MB / 0.8379 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002163/1.073, allocations: 1.397 MB / 0.8393 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/1.074, allocations: 168.9 kB / 0.8394 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/1.076, allocations: 1.121 MB / 0.8405 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/1.077, allocations: 0.5152 MB / 0.841 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/1.077, allocations: 78.94 kB / 0.8411 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/1.082, allocations: 2.663 MB / 0.8437 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/1.082, allocations: 216.3 kB / 0.8439 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006578/1.083, allocations: 0.5 MB / 0.8444 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/1.086, allocations: 1.99 MB / 0.8463 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.086, allocations: 1.094 kB / 0.8463 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/1.086, allocations: 0.875 kB / 0.8463 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.086, allocations: 0 / 0.8463 GB, free: 2.715 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00302/1.09, allocations: 1.608 MB / 0.8479 GB, free: 17.85 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.09, allocations: 10.78 kB / 0.8479 GB, free: 17.85 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.766e-05/1.09, allocations: 18.72 kB / 0.8479 GB, free: 17.84 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/1.09, allocations: 122.9 kB / 0.8481 GB, free: 17.8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/1.091, allocations: 251.3 kB / 0.8483 GB, free: 17.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.093, allocations: 0.7949 MB / 0.8491 GB, free: 17.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/1.093, allocations: 183 kB / 0.8492 GB, free: 17.28 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.093, allocations: 72.38 kB / 0.8493 GB, free: 17.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.095, allocations: 0.8278 MB / 0.8501 GB, free: 17.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.095, allocations: 0 / 0.8501 GB, free: 17.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/1.095, allocations: 31.45 kB / 0.8502 GB, free: 17.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.095, allocations: 19.69 kB / 0.8502 GB, free: 17.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.096, allocations: 0.6559 MB / 0.8508 GB, free: 17.18 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.00493/1.101, allocations: 3.182 MB / 0.8539 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.102, allocations: 0.5588 MB / 0.8545 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/1.103, allocations: 319.2 kB / 0.8548 GB, free: 15.47 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008505/1.104, allocations: 0.8982 MB / 0.8556 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.104, allocations: 42.02 kB / 0.8557 GB, free: 14.39 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 3.106e-06/1.104, allocations: 0 / 0.8557 GB, free: 14.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.005058/1.109, allocations: 1.685 MB / 0.8573 GB, free: 13.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.109, allocations: 61.19 kB / 0.8574 GB, free: 13.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/1.11, allocations: 0.6858 MB / 0.8581 GB, free: 13.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/1.11, allocations: 36.17 kB / 0.8581 GB, free: 13.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.11, allocations: 450.6 kB / 0.8585 GB, free: 13.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/1.11, allocations: 213 kB / 0.8587 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.111, allocations: 113 kB / 0.8588 GB, free: 13.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.111, allocations: 330.6 kB / 0.8591 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/1.111, allocations: 257.2 kB / 0.8594 GB, free: 13.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/1.112, allocations: 313.1 kB / 0.8597 GB, free: 13.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.113, allocations: 0.5483 MB / 0.8602 GB, free: 13.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.113, allocations: 0 / 0.8602 GB, free: 13.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002756/1.116, allocations: 1.03 MB / 0.8612 GB, free: 12.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.116, allocations: 8.906 kB / 0.8612 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.116, allocations: 0.75 kB / 0.8612 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/1.117, allocations: 227.8 kB / 0.8615 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/1.118, allocations: 152 kB / 0.8616 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/1.123, allocations: 5.096 MB / 0.8666 GB, free: 8.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/1.124, allocations: 75.78 kB / 0.8667 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/1.124, allocations: 42.16 kB / 0.8667 GB, free: 8.82 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003709/1.124, allocations: 201.8 kB / 0.8669 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/1.125, allocations: 89.17 kB / 0.867 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/1.128, allocations: 1.404 MB / 0.8683 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.128, allocations: 8.688 kB / 0.8684 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.128, allocations: 2.969 kB / 0.8684 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.128, allocations: 6.594 kB / 0.8684 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/1.132, allocations: 2.082 MB / 0.8704 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.132, allocations: 0.9375 kB / 0.8704 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/1.133, allocations: 136.1 kB / 0.8705 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/1.134, allocations: 237.9 kB / 0.8708 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/1.134, allocations: 27.31 kB / 0.8708 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00626/1.14, allocations: 5.098 MB / 0.8758 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.14, allocations: 0 / 0.8758 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/1.144, allocations: 1.403 MB / 0.8771 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/1.144, allocations: 215.5 kB / 0.8773 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.144, allocations: 15.69 kB / 0.8773 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/1.145, allocations: 39.03 kB / 0.8774 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.145, allocations: 55.33 kB / 0.8774 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/1.145, allocations: 33.91 kB / 0.8775 GB, free: 3.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005608/1.146, allocations: 496.5 kB / 0.8779 GB, free: 3.406 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.146, allocations: 0 / 0.8779 GB, free: 3.406 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001371/1.147, allocations: 406.7 kB / 0.8783 GB, free: 3.336 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004554/1.152, allocations: 2.358 MB / 0.8806 GB, free: 2.477 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.154, allocations: 1.038 MB / 0.8816 GB, free: 2.125 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.154, allocations: 0.5938 kB / 0.8816 GB, free: 2.125 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/1.156, allocations: 0.7648 MB / 0.8824 GB, free: 1.785 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/1.157, allocations: 221 kB / 0.8826 GB, free: 1.762 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.17, allocations: 7.216 MB / 0.8897 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/1.171, allocations: 0.9923 MB / 0.8906 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009423/1.172, allocations: 457.6 kB / 0.8911 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/1.172, allocations: 417.3 kB / 0.8915 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/1.172, allocations: 0 / 0.8915 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06506/1.237, allocations: 25.93 MB / 0.9168 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.39, allocations: 8.062 kB / 0.9168 GB, free: 2.043 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.93026125599863] Failed to read output from testmodel.py, exit status != 0: 14.540107709995937 14.552804811 13.463007561 Calling exit ...