Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001859/0.001859, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002236/0.002236, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.6798/0.6798, allocations: 100.3 MB / 409.8 MB, free: 5.414 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_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.002441/0.002441, allocations: 87.86 kB / 0.5589 GB, free: 13.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3987, allocations: 74.43 MB / 0.6316 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2708/0.6695, allocations: 202.7 MB / 0.8295 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.471/1.141, allocations: 14.9 MB / 0.844 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.142, allocations: 66.97 kB / 0.8441 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/1.143, allocations: 0.5175 MB / 0.8446 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004843/1.148, allocations: 1.355 MB / 0.8459 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/1.152, allocations: 1.401 MB / 0.8473 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002379/1.154, allocations: 1.389 MB / 0.8486 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/1.155, allocations: 168.8 kB / 0.8488 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/1.158, allocations: 1.115 MB / 0.8499 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/1.159, allocations: 0.5156 MB / 0.8504 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.159, allocations: 78.22 kB / 0.8505 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/1.164, allocations: 2.565 MB / 0.853 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/1.165, allocations: 209.1 kB / 0.8532 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009614/1.166, allocations: 0.5071 MB / 0.8537 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004485/1.17, allocations: 1.903 MB / 0.8555 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.17, allocations: 0 / 0.8555 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/1.17, allocations: 0.9062 kB / 0.8555 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.396e-05/1.17, allocations: 1.203 kB / 0.8555 GB, free: 1.641 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.003339/1.174, allocations: 1.597 MB / 0.8571 GB, free: 16.78 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.174, allocations: 11.16 kB / 0.8571 GB, free: 16.78 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.123e-05/1.174, allocations: 18.88 kB / 0.8571 GB, free: 16.78 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/1.174, allocations: 121.2 kB / 0.8572 GB, free: 16.74 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/1.176, allocations: 249.4 kB / 0.8575 GB, free: 16.67 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/1.177, allocations: 0.7924 MB / 0.8582 GB, free: 16.34 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.177, allocations: 183.8 kB / 0.8584 GB, free: 16.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.177, allocations: 72.69 kB / 0.8585 GB, free: 16.21 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/1.179, allocations: 0.8245 MB / 0.8593 GB, free: 16.13 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.179, allocations: 3.344 kB / 0.8593 GB, free: 16.13 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/1.179, allocations: 29.53 kB / 0.8593 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/1.179, allocations: 18.16 kB / 0.8593 GB, free: 16.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.181, allocations: 0.6495 MB / 0.86 GB, free: 16.12 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.004672/1.185, allocations: 3.221 MB / 0.8631 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.187, allocations: 0.5566 MB / 0.8637 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/1.187, allocations: 330.2 kB / 0.864 GB, free: 14.33 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007879/1.188, allocations: 0.9006 MB / 0.8648 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.188, allocations: 41.72 kB / 0.8649 GB, free: 13.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.404e-06/1.188, allocations: 1.094 kB / 0.8649 GB, free: 13.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.005054/1.193, allocations: 1.678 MB / 0.8665 GB, free: 12.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.193, allocations: 59.81 kB / 0.8666 GB, free: 12.78 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/1.194, allocations: 0.6632 MB / 0.8672 GB, free: 12.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/1.194, allocations: 35.23 kB / 0.8673 GB, free: 12.62 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.194, allocations: 442.1 kB / 0.8677 GB, free: 12.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/1.195, allocations: 212.1 kB / 0.8679 GB, free: 12.31 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/1.195, allocations: 112.1 kB / 0.868 GB, free: 12.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.195, allocations: 332.5 kB / 0.8683 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/1.196, allocations: 247.3 kB / 0.8685 GB, free: 11.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/1.196, allocations: 269.5 kB / 0.8688 GB, free: 11.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.197, allocations: 0.5211 MB / 0.8693 GB, free: 11.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.197, allocations: 0 / 0.8693 GB, free: 11.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002852/1.2, allocations: 1.016 MB / 0.8703 GB, free: 11.83 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.2, allocations: 6.062 kB / 0.8703 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.2, allocations: 3.406 kB / 0.8703 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008574/1.201, allocations: 233 kB / 0.8705 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/1.202, allocations: 147.7 kB / 0.8707 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006352/1.208, allocations: 5.093 MB / 0.8757 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/1.209, allocations: 82.05 kB / 0.8757 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.209, allocations: 37.12 kB / 0.8758 GB, free: 7.715 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.0004691/1.21, allocations: 201.7 kB / 0.876 GB, free: 7.598 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.21, allocations: 85.97 kB / 0.876 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/1.213, allocations: 1.42 MB / 0.8774 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.213, allocations: 5.031 kB / 0.8774 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.213, allocations: 2.906 kB / 0.8774 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.213, allocations: 3 kB / 0.8774 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/1.218, allocations: 2.103 MB / 0.8795 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.218, allocations: 7.859 kB / 0.8795 GB, free: 6.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/1.219, allocations: 138 kB / 0.8796 GB, free: 6.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/1.22, allocations: 238.4 kB / 0.8799 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/1.22, allocations: 31.17 kB / 0.8799 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/1.226, allocations: 5.094 MB / 0.8849 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.226, allocations: 3.125 kB / 0.8849 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/1.23, allocations: 1.412 MB / 0.8862 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/1.23, allocations: 220.9 kB / 0.8865 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.23, allocations: 19.66 kB / 0.8865 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.231, allocations: 35.62 kB / 0.8865 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.231, allocations: 58.59 kB / 0.8866 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/1.231, allocations: 38.55 kB / 0.8866 GB, free: 2.363 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006775/1.232, allocations: 484 kB / 0.8871 GB, free: 2.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.232, allocations: 0.7812 kB / 0.8871 GB, free: 2.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00142/1.233, allocations: 376 kB / 0.8874 GB, free: 2.211 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.004687/1.238, allocations: 2.339 MB / 0.8897 GB, free: 1.359 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.24, allocations: 1.024 MB / 0.8907 GB, free: 1.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.24, allocations: 6.688 kB / 0.8907 GB, free: 1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/1.242, allocations: 0.7822 MB / 0.8915 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.244, allocations: 208.8 kB / 0.8917 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.261, allocations: 7.085 MB / 0.8986 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008241/1.262, allocations: 0.9975 MB / 0.8996 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00134/1.263, allocations: 444.1 kB / 0.9 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/1.264, allocations: 408.8 kB / 0.9004 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of SimCode: time 1.252e-06/1.264, allocations: 0 / 0.9004 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/1.33, allocations: 25.23 MB / 0.925 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.89, allocations: 4.062 kB / 0.925 GB, free: 14.15 MB / 0.7012 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.49056757299695] Failed to read output from testmodel.py, exit status != 0: 14.055702609999571 14.072889541 12.899510493 Calling exit ...