Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.001677/0.001677, 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.002035/0.002035, 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.509/1.509, 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 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.7163/0.7163, 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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.002494/0.002494, allocations: 83.88 kB / 0.5506 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.404, allocations: 73.04 MB / 0.6219 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2622/0.6662, allocations: 202.6 MB / 0.8198 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.6854, allocations: 14.93 MB / 0.8344 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.6867, allocations: 63.44 kB / 0.8344 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.6884, allocations: 0.5122 MB / 0.8349 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.4681/1.157, allocations: 1.354 MB / 0.8363 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/1.161, allocations: 1.393 MB / 0.8376 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00301/1.164, allocations: 1.395 MB / 0.839 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/1.165, allocations: 164.6 kB / 0.8391 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/1.168, allocations: 1.119 MB / 0.8402 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/1.169, allocations: 0.509 MB / 0.8407 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/1.169, allocations: 80.97 kB / 0.8408 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00572/1.174, allocations: 2.566 MB / 0.8433 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/1.175, allocations: 205 kB / 0.8435 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006497/1.175, allocations: 0.5028 MB / 0.844 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/1.179, allocations: 1.906 MB / 0.8459 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.179, allocations: 0.7812 kB / 0.8459 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/1.179, allocations: 1.203 kB / 0.8459 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.179, allocations: 0 / 0.8459 GB, free: 2.812 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.003059/1.182, allocations: 1.592 MB / 0.8474 GB, free: 17.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.182, allocations: 12.16 kB / 0.8474 GB, free: 17.96 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.955e-05/1.182, allocations: 22.75 kB / 0.8474 GB, free: 17.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/1.182, allocations: 119 kB / 0.8476 GB, free: 17.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.184, allocations: 248.1 kB / 0.8478 GB, free: 17.85 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.185, allocations: 0.7969 MB / 0.8486 GB, free: 17.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/1.186, allocations: 184.4 kB / 0.8487 GB, free: 17.39 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.186, allocations: 71.22 kB / 0.8488 GB, free: 17.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/1.187, allocations: 0.8218 MB / 0.8496 GB, free: 17.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.187, allocations: 0 / 0.8496 GB, free: 17.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/1.187, allocations: 32.53 kB / 0.8497 GB, free: 17.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/1.187, allocations: 19.75 kB / 0.8497 GB, free: 17.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.189, allocations: 0.6479 MB / 0.8503 GB, free: 17.29 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.004071/1.193, allocations: 3.216 MB / 0.8534 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.194, allocations: 0.5614 MB / 0.854 GB, free: 15.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/1.195, allocations: 322.6 kB / 0.8543 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/1.195, allocations: 0.9014 MB / 0.8552 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.196, allocations: 39.59 kB / 0.8552 GB, free: 14.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.725e-06/1.196, allocations: 0 / 0.8552 GB, free: 14.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.004953/1.2, allocations: 1.682 MB / 0.8569 GB, free: 14.03 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.201, allocations: 62.09 kB / 0.8569 GB, free: 13.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/1.201, allocations: 0.6645 MB / 0.8576 GB, free: 13.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/1.201, allocations: 35.67 kB / 0.8576 GB, free: 13.81 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/1.202, allocations: 440.7 kB / 0.858 GB, free: 13.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.202, allocations: 214.5 kB / 0.8582 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.202, allocations: 108.4 kB / 0.8583 GB, free: 13.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.202, allocations: 331.2 kB / 0.8586 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/1.203, allocations: 252.5 kB / 0.8589 GB, free: 13.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/1.203, allocations: 262.8 kB / 0.8591 GB, free: 13.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.205, allocations: 0.52 MB / 0.8596 GB, free: 13.15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.205, allocations: 2.844 kB / 0.8596 GB, free: 13.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002721/1.207, allocations: 1.014 MB / 0.8606 GB, free: 13.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.207, allocations: 10.78 kB / 0.8606 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.207, allocations: 0 / 0.8606 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/1.208, allocations: 235.8 kB / 0.8609 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/1.209, allocations: 151.5 kB / 0.861 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/1.215, allocations: 5.089 MB / 0.866 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/1.216, allocations: 69.33 kB / 0.8661 GB, free: 8.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/1.216, allocations: 44.14 kB / 0.8661 GB, free: 8.906 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0003848/1.216, allocations: 203.8 kB / 0.8663 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.216, allocations: 84.78 kB / 0.8664 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/1.22, allocations: 1.423 MB / 0.8678 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.22, allocations: 6.062 kB / 0.8678 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.22, allocations: 3.281 kB / 0.8678 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.22, allocations: 2.906 kB / 0.8678 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/1.224, allocations: 2.102 MB / 0.8698 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.224, allocations: 0 / 0.8698 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/1.225, allocations: 139 kB / 0.87 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007474/1.225, allocations: 242 kB / 0.8702 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/1.225, allocations: 20.05 kB / 0.8702 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/1.231, allocations: 5.099 MB / 0.8752 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.231, allocations: 10.56 kB / 0.8752 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/1.235, allocations: 1.411 MB / 0.8766 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/1.235, allocations: 220.6 kB / 0.8768 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.235, allocations: 12.84 kB / 0.8768 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/1.236, allocations: 37.75 kB / 0.8768 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.236, allocations: 55.45 kB / 0.8769 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/1.236, allocations: 37.19 kB / 0.8769 GB, free: 3.578 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005533/1.237, allocations: 483.2 kB / 0.8774 GB, free: 3.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.237, allocations: 0 / 0.8774 GB, free: 3.484 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001203/1.238, allocations: 378.3 kB / 0.8777 GB, free: 3.422 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.004468/1.242, allocations: 2.341 MB / 0.88 GB, free: 2.566 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.245, allocations: 1.032 MB / 0.881 GB, free: 2.215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.245, allocations: 0 / 0.881 GB, free: 2.215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.246, allocations: 0.7826 MB / 0.8818 GB, free: 1.867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.248, allocations: 206 kB / 0.882 GB, free: 1.852 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.261, allocations: 7.097 MB / 0.8889 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/1.262, allocations: 0.9969 MB / 0.8899 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001001/1.263, allocations: 448.7 kB / 0.8903 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/1.263, allocations: 414.8 kB / 0.8907 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of SimCode: time 1.513e-06/1.263, allocations: 0 / 0.8907 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/1.331, allocations: 25.22 MB / 0.9154 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.68, allocations: 8 kB / 0.9154 GB, free: 3.547 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.348036565002985] Failed to read output from testmodel.py, exit status != 0: 13.84427802200662 13.86864221 12.684849546 Calling exit ...