Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001792/0.001792, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002184/0.002184, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.521/1.521, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6395/0.6395, allocations: 100.3 MB / 409.8 MB, free: 5.383 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_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.002429/0.002429, allocations: 83.88 kB / 0.5589 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3956, allocations: 74.42 MB / 0.6316 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2371/0.6327, allocations: 202.7 MB / 0.8295 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3883/1.021, allocations: 15.1 MB / 0.8442 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008952/1.022, allocations: 64.41 kB / 0.8443 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/1.023, allocations: 0.5142 MB / 0.8448 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003674/1.027, allocations: 1.355 MB / 0.8461 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/1.031, allocations: 1.479 MB / 0.8475 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002022/1.033, allocations: 1.4 MB / 0.8489 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/1.033, allocations: 168.4 kB / 0.8491 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/1.036, allocations: 1.124 MB / 0.8502 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/1.036, allocations: 0.5128 MB / 0.8507 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/1.036, allocations: 84.03 kB / 0.8508 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/1.042, allocations: 2.667 MB / 0.8534 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/1.042, allocations: 211 kB / 0.8536 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/1.042, allocations: 0.5004 MB / 0.854 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/1.046, allocations: 1.989 MB / 0.856 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.046, allocations: 2.078 kB / 0.856 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/1.046, allocations: 0 / 0.856 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.046, allocations: 0 / 0.856 GB, free: 1.648 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.003062/1.049, allocations: 1.613 MB / 0.8576 GB, free: 16.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.049, allocations: 8.688 kB / 0.8576 GB, free: 16.77 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.907e-05/1.049, allocations: 20.59 kB / 0.8576 GB, free: 16.77 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/1.049, allocations: 121.7 kB / 0.8577 GB, free: 16.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/1.051, allocations: 246.4 kB / 0.8579 GB, free: 16.67 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.053, allocations: 0.7977 MB / 0.8587 GB, free: 16.34 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/1.053, allocations: 188 kB / 0.8589 GB, free: 16.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.053, allocations: 73.81 kB / 0.859 GB, free: 16.21 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/1.055, allocations: 0.8275 MB / 0.8598 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.055, allocations: 0 / 0.8598 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/1.055, allocations: 35.19 kB / 0.8598 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/1.055, allocations: 17.12 kB / 0.8598 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/1.056, allocations: 0.6577 MB / 0.8605 GB, free: 16.11 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.004381/1.061, allocations: 3.185 MB / 0.8636 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.062, allocations: 0.5654 MB / 0.8641 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/1.062, allocations: 319.6 kB / 0.8644 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/1.063, allocations: 0.9045 MB / 0.8653 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.063, allocations: 42.66 kB / 0.8654 GB, free: 13.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/1.063, allocations: 0.8438 kB / 0.8654 GB, free: 13.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.00473/1.068, allocations: 1.679 MB / 0.867 GB, free: 12.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.068, allocations: 56.09 kB / 0.8671 GB, free: 12.83 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/1.069, allocations: 0.6888 MB / 0.8677 GB, free: 12.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/1.069, allocations: 32.7 kB / 0.8678 GB, free: 12.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/1.069, allocations: 451.9 kB / 0.8682 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/1.069, allocations: 214 kB / 0.8684 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.069, allocations: 117.3 kB / 0.8685 GB, free: 12.34 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.07, allocations: 326.3 kB / 0.8688 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/1.07, allocations: 261.5 kB / 0.8691 GB, free: 12.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/1.071, allocations: 313 kB / 0.8694 GB, free: 12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.072, allocations: 0.5407 MB / 0.8699 GB, free: 11.97 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.072, allocations: 0.875 kB / 0.8699 GB, free: 11.97 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002775/1.075, allocations: 1.031 MB / 0.8709 GB, free: 11.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.075, allocations: 4.875 kB / 0.8709 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.075, allocations: 3.188 kB / 0.8709 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/1.076, allocations: 234.3 kB / 0.8711 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/1.076, allocations: 142.5 kB / 0.8713 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/1.083, allocations: 5.104 MB / 0.8763 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/1.084, allocations: 72 kB / 0.8763 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/1.084, allocations: 38.89 kB / 0.8764 GB, free: 7.723 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.0004413/1.084, allocations: 206.2 kB / 0.8766 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/1.085, allocations: 91.36 kB / 0.8766 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.088, allocations: 1.393 MB / 0.878 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.088, allocations: 5.625 kB / 0.878 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.088, allocations: 3.594 kB / 0.878 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.088, allocations: 2.906 kB / 0.878 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/1.092, allocations: 2.088 MB / 0.8801 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.092, allocations: 1.062 kB / 0.8801 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/1.093, allocations: 138.9 kB / 0.8802 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/1.094, allocations: 239.6 kB / 0.8804 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/1.094, allocations: 21.11 kB / 0.8804 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/1.1, allocations: 5.105 MB / 0.8854 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.1, allocations: 0 / 0.8854 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/1.104, allocations: 1.399 MB / 0.8868 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/1.104, allocations: 218.7 kB / 0.887 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.104, allocations: 13.5 kB / 0.887 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/1.105, allocations: 37.55 kB / 0.887 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.105, allocations: 58.38 kB / 0.8871 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/1.105, allocations: 41.94 kB / 0.8871 GB, free: 2.387 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006522/1.106, allocations: 495 kB / 0.8876 GB, free: 2.297 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 0.875 kB / 0.8876 GB, free: 2.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001399/1.107, allocations: 402.4 kB / 0.888 GB, free: 2.227 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.00507/1.112, allocations: 2.358 MB / 0.8903 GB, free: 1.367 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002712/1.115, allocations: 1.035 MB / 0.8913 GB, free: 1.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.115, allocations: 4.125 kB / 0.8913 GB, free: 1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.117, allocations: 0.7749 MB / 0.8921 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.118, allocations: 208.3 kB / 0.8923 GB, free: 0.625 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.131, allocations: 7.205 MB / 0.8993 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/1.132, allocations: 1.004 MB / 0.9003 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009399/1.133, allocations: 449.8 kB / 0.9007 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/1.133, allocations: 413.9 kB / 0.9011 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/1.133, allocations: 0 / 0.9011 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06855/1.202, allocations: 25.95 MB / 0.9265 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.61, allocations: 13.75 kB / 0.9265 GB, free: 12.92 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.202279090997763] Failed to read output from testmodel.py, exit status != 0: 14.767802339047194 14.780596298 13.731479976 Calling exit ...