Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001908/0.001908, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002706/0.002706, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.91 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3206, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003781/0.3244, allocations: 2.248 MB / 0.56 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3263, allocations: 1.188 MB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.3264, allocations: 4 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.3267, allocations: 75.52 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.3269, allocations: 107.3 kB / 0.5614 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.3274, allocations: 203.3 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.328, allocations: 0.4938 MB / 0.562 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.3281, allocations: 19.11 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.3284, allocations: 179.1 kB / 0.5622 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3287, allocations: 207 kB / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.3287, allocations: 12 kB / 0.5624 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.3292, allocations: 335.5 kB / 0.5628 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.3294, allocations: 103.5 kB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3296, allocations: 190.7 kB / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007682/0.3303, allocations: 0.5991 MB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3303, allocations: 0 / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3303, allocations: 3.938 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3303, allocations: 0 / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001219/0.3316, allocations: 0.6881 MB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3316, allocations: 12.03 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.196e-05/0.3316, allocations: 13.19 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.668e-05/0.3317, allocations: 98.69 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.3321, allocations: 84.56 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3325, allocations: 246.9 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.3326, allocations: 41.12 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.3326, allocations: 40 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3338, allocations: 0.6597 MB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3338, allocations: 3.938 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.3338, allocations: 16 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.3339, allocations: 28.98 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.3348, allocations: 487.5 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.337, allocations: 1.464 MB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.3376, allocations: 291.6 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3379, allocations: 142.6 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.338, allocations: 15.92 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.338, allocations: 42.48 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.338, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001287/0.3393, allocations: 0.4921 MB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.3394, allocations: 114.7 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.34, allocations: 0.533 MB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.34, allocations: 33.7 kB / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3402, allocations: 232.2 kB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/0.3403, allocations: 75.44 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3405, allocations: 85.92 kB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3406, allocations: 358.8 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.341, allocations: 156.1 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.3415, allocations: 279.8 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.3423, allocations: 446.9 kB / 0.5706 GB, free: 10.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3424, allocations: 0 / 0.5706 GB, free: 10.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.3434, allocations: 0.4912 MB / 0.571 GB, free: 9.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3434, allocations: 8 kB / 0.5711 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.63e-05/0.3435, allocations: 43.92 kB / 0.5711 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3435, allocations: 8.531 kB / 0.5711 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3437, allocations: 47.89 kB / 0.5711 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.3438, allocations: 8 kB / 0.5712 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3441, allocations: 79.36 kB / 0.5712 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.3441, allocations: 24 kB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.3443, allocations: 205.7 kB / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3445, allocations: 47.72 kB / 0.5715 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.3454, allocations: 449 kB / 0.5719 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3454, allocations: 4 kB / 0.5719 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3454, allocations: 4 kB / 0.5719 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3454, allocations: 0 / 0.5719 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.346, allocations: 364.4 kB / 0.5723 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.697e-05/0.3461, allocations: 39.98 kB / 0.5723 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3462, allocations: 27.91 kB / 0.5723 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3462, allocations: 0 / 0.5723 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.3463, allocations: 15.94 kB / 0.5724 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3463, allocations: 4 kB / 0.5724 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3463, allocations: 4 kB / 0.5724 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.3473, allocations: 0.5981 MB / 0.573 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.3474, allocations: 47.7 kB / 0.573 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3474, allocations: 15.92 kB / 0.573 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.3477, allocations: 15.98 kB / 0.573 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.3478, allocations: 31.84 kB / 0.5731 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3478, allocations: 12 kB / 0.5731 GB, free: 7.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004792/0.3483, allocations: 399 kB / 0.5734 GB, free: 7.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 0 / 0.5734 GB, free: 7.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000615/0.3489, allocations: 143.7 kB / 0.5736 GB, free: 7.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.3505, allocations: 1.205 MB / 0.5748 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3516, allocations: 0.6599 MB / 0.5754 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3516, allocations: 1.062 kB / 0.5754 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.3522, allocations: 480.2 kB / 0.5759 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.3529, allocations: 121.9 kB / 0.576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.3603, allocations: 5.188 MB / 0.581 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3609, allocations: 0.866 MB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.3611, allocations: 83.34 kB / 0.582 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3613, allocations: 123.4 kB / 0.5821 GB, free: 14.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3613, allocations: 0 / 0.5821 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.3988, allocations: 13.43 MB / 0.5952 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.2, allocations: 3.938 kB / 0.5952 GB, free: 0.8945 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.17440928099677] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'Nu_4[1]', 'Nu_4[2]', 'Nu_4[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 12.372381669003516 12.399736968 12.064706864 Calling exit ...