Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00227/0.00227, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2296/0.2296, allocations: 46.92 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3649, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00361/0.3685, allocations: 2.045 MB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3701, allocations: 0.85 MB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.3702, allocations: 0 / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3705, allocations: 75.56 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.3709, allocations: 123.5 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3711, allocations: 75.69 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.3715, allocations: 302.6 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.3716, allocations: 12.59 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.3718, allocations: 143.3 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3721, allocations: 151.3 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3721, allocations: 8 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.3724, allocations: 127.8 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3725, allocations: 75.61 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3726, allocations: 115.2 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3731, allocations: 340.6 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3731, allocations: 4 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3731, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3731, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009669/0.3741, allocations: 0.4936 MB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3741, allocations: 12.03 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.3742, allocations: 66.72 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.3743, allocations: 28.75 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3746, allocations: 198.4 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3746, allocations: 12.66 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.3747, allocations: 31.98 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.3754, allocations: 393.9 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3754, allocations: 4 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3754, allocations: 4 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.3754, allocations: 28.64 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.3763, allocations: 414.2 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3778, allocations: 0.8416 MB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.3784, allocations: 262.3 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3786, allocations: 96.75 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3786, allocations: 8.062 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3787, allocations: 38.5 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3787, allocations: 0 / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007819/0.3795, allocations: 341.1 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3795, allocations: 51.41 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3799, allocations: 348.5 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3799, allocations: 29.7 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3801, allocations: 168.3 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.3801, allocations: 55.53 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.3802, allocations: 49.69 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3804, allocations: 342.8 kB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3806, allocations: 95.84 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3809, allocations: 141.9 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.3813, allocations: 248.3 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3813, allocations: 0 / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005699/0.3819, allocations: 305 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3819, allocations: 8 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3819, allocations: 192 / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3819, allocations: 8 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.3825, allocations: 111.9 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.385, allocations: 3.665 MB / 0.5744 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3852, allocations: 35.72 kB / 0.5745 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3852, allocations: 12 kB / 0.5745 GB, free: 6.645 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.3855, allocations: 177.7 kB / 0.5747 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.3855, allocations: 27.8 kB / 0.5747 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.3862, allocations: 330.2 kB / 0.575 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3862, allocations: 0 / 0.575 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3862, allocations: 4 kB / 0.575 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3862, allocations: 0 / 0.575 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3867, allocations: 272.6 kB / 0.5753 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3867, allocations: 3.938 kB / 0.5753 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.3872, allocations: 111.8 kB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3872, allocations: 4 kB / 0.5754 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3872, allocations: 8 kB / 0.5754 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.3897, allocations: 3.664 MB / 0.579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3897, allocations: 352 / 0.579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.3903, allocations: 359 kB / 0.5793 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.3904, allocations: 31.78 kB / 0.5793 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3904, allocations: 4 kB / 0.5793 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3906, allocations: 7.984 kB / 0.5794 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.3907, allocations: 15.97 kB / 0.5794 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3907, allocations: 12 kB / 0.5794 GB, free: 1.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.391, allocations: 255 kB / 0.5796 GB, free: 1.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 0.5796 GB, free: 1.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3913, allocations: 75.83 kB / 0.5797 GB, free: 1.105 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.3923, allocations: 0.9035 MB / 0.5806 GB, free: 180 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009299/0.3933, allocations: 298.7 kB / 0.5809 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3933, allocations: 4 kB / 0.5809 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.3938, allocations: 183.8 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3943, allocations: 81.12 kB / 0.5811 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3989, allocations: 3.395 MB / 0.5844 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.3994, allocations: 0.8026 MB / 0.5852 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.3996, allocations: 62.23 kB / 0.5853 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3997, allocations: 75.41 kB / 0.5853 GB, free: 11.14 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3997, allocations: 0 / 0.5853 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.4355, allocations: 8.707 MB / 0.5939 GB, free: 2.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.31, allocations: 4 kB / 0.5939 GB, free: 2.598 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.31248000310734] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'eta[1]', 'eta[2]', 'lambda[1]', 'lambda[2]', 'rho[1]', 'rho[2]', 'Nu[1]', 'Nu[2]', 'm_flow_1[1]', 'm_flow_1[2]', 'm_flow_2[1]', 'm_flow_2[2]', 'm_flow_3[1]', 'm_flow_3[2]', 'kc_1[1]', 'kc_1[2]', 'kc_2[1]', 'kc_2[2]', 'kc_3[1]', 'kc_3[2]', 'Re_1[1]', 'Re_1[2]', 'Re_2[1]', 'Re_2[2]', 'Re_3[1]', 'Re_3[2]', 'input_Nu.y'] 12.402992025949061 12.418803265 12.042443821 Calling exit ...