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.StraightPipe.kc_turbulent.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.001365/0.001365, allocations: 109 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.001404/0.001404, allocations: 213.6 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.383/1.383, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2177/0.2177, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.0023/0.0023, allocations: 79.86 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3366, allocations: 66.09 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003643/0.3402, allocations: 2.042 MB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3422, allocations: 1.185 MB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.3423, allocations: 0 / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.3426, allocations: 59.67 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.3428, allocations: 83.45 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3434, allocations: 179.3 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.3438, allocations: 318.6 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/0.3439, allocations: 18.89 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3441, allocations: 127.4 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3443, allocations: 143.3 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3443, allocations: 16 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.3448, allocations: 207.7 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3449, allocations: 75.66 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.345, allocations: 123.2 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.3455, allocations: 406.3 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3455, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3455, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3456, allocations: 0 / 0.5664 GB, free: 15.29 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001079/0.3466, allocations: 0.5635 MB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3467, allocations: 8.031 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.3468, allocations: 70.72 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.3471, allocations: 68.66 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3474, allocations: 213.5 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3475, allocations: 16.66 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.3475, allocations: 32 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.3482, allocations: 426.6 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3482, allocations: 3.938 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.3483, allocations: 12 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3483, allocations: 12.66 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.349, allocations: 330.3 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3505, allocations: 1.062 MB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.351, allocations: 239.6 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.3513, allocations: 110.5 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.3513, allocations: 11.92 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3514, allocations: 34.56 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3514, allocations: 0 / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.3524, allocations: 357.1 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.3525, allocations: 114.7 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.3529, allocations: 401.6 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.353, allocations: 29.95 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3531, allocations: 208 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.3532, allocations: 39.64 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3533, allocations: 69.88 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3534, allocations: 342.8 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.3537, allocations: 116.1 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.3541, allocations: 235.8 kB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.3548, allocations: 367 kB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3548, allocations: 3.984 kB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008355/0.3557, allocations: 401.3 kB / 0.572 GB, free: 9.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3557, allocations: 8 kB / 0.572 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/0.3557, allocations: 27.98 kB / 0.5721 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-05/0.3558, allocations: 7.938 kB / 0.5721 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.356, allocations: 59.83 kB / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.356, allocations: 4 kB / 0.5721 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.3563, allocations: 55.61 kB / 0.5722 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3564, allocations: 23.97 kB / 0.5722 GB, free: 8.926 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000209/0.3566, allocations: 185 kB / 0.5724 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.3567, allocations: 31.8 kB / 0.5724 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.3573, allocations: 280.3 kB / 0.5727 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3573, allocations: 7.938 kB / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3573, allocations: 0 / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3573, allocations: 0 / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.3577, allocations: 276.6 kB / 0.573 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/0.3578, allocations: 20 kB / 0.573 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3579, allocations: 24.06 kB / 0.573 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3579, allocations: 7.938 kB / 0.573 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3579, allocations: 4 kB / 0.573 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3579, allocations: 3.938 kB / 0.573 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3579, allocations: 0 / 0.573 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.3587, allocations: 0.5135 MB / 0.5735 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3587, allocations: 39.75 kB / 0.5736 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3588, allocations: 0 / 0.5736 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.359, allocations: 23.91 kB / 0.5736 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.3591, allocations: 19.98 kB / 0.5736 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3591, allocations: 12 kB / 0.5736 GB, free: 7.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.3594, allocations: 291.1 kB / 0.5739 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3594, allocations: 0 / 0.5739 GB, free: 7.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.3599, allocations: 91.88 kB / 0.574 GB, free: 7.055 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001276/0.3612, allocations: 1.101 MB / 0.5751 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.362, allocations: 430.4 kB / 0.5755 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.362, allocations: 3.938 kB / 0.5755 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.3624, allocations: 266.1 kB / 0.5757 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.363, allocations: 70.2 kB / 0.5758 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.3685, allocations: 3.845 MB / 0.5795 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.369, allocations: 0.7948 MB / 0.5803 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.3692, allocations: 70.91 kB / 0.5804 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3694, allocations: 87.39 kB / 0.5805 GB, free: 84 kB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3694, allocations: 0 / 0.5805 GB, free: 84 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.4025, allocations: 9.285 MB / 0.5895 GB, free: 6.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.633, allocations: 4.219 kB / 0.5895 GB, free: 6.934 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.47398484684527] 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]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 8.705172338988632 8.723711836 8.374881856 Calling exit ...