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.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001918, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB 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.00246/0.00246, allocations: 83.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3522, allocations: 62.43 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003744/0.356, allocations: 2.179 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3576, allocations: 0.9399 MB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.3577, allocations: 1.562 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.358, allocations: 69.7 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.3584, allocations: 145.8 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.3586, allocations: 84.36 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.3591, allocations: 484.3 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.3592, allocations: 68.72 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.3595, allocations: 192.2 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.3598, allocations: 213.7 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.3598, allocations: 13.16 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.3602, allocations: 196.9 kB / 0.5351 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3604, allocations: 116.9 kB / 0.5352 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3606, allocations: 190.2 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.3613, allocations: 0.5388 MB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3613, allocations: 0 / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3614, allocations: 1.156 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3614, allocations: 0 / 0.5359 GB, free: 9.41 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001312/0.3627, allocations: 0.77 MB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3627, allocations: 9.75 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.3629, allocations: 101.3 kB / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.363, allocations: 56.31 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.3634, allocations: 313.8 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3634, allocations: 36.91 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.3635, allocations: 46.2 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3646, allocations: 0.7103 MB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3646, allocations: 0 / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.3647, allocations: 20.33 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/0.3648, allocations: 53.69 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3661, allocations: 0.7482 MB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.3683, allocations: 1.432 MB / 0.5401 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007907/0.3691, allocations: 465.2 kB / 0.5405 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3694, allocations: 157 kB / 0.5407 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3694, allocations: 12.97 kB / 0.5407 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3695, allocations: 37.25 kB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.3695, allocations: 4 kB / 0.5407 GB, free: 6.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001186/0.3707, allocations: 0.5418 MB / 0.5413 GB, free: 6.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3707, allocations: 54.75 kB / 0.5413 GB, free: 5.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.3714, allocations: 0.5272 MB / 0.5418 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3714, allocations: 30.86 kB / 0.5419 GB, free: 5.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3716, allocations: 238.7 kB / 0.5421 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3717, allocations: 107.7 kB / 0.5422 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3719, allocations: 91.86 kB / 0.5423 GB, free: 5.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3721, allocations: 356.7 kB / 0.5426 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.3724, allocations: 154.6 kB / 0.5428 GB, free: 4.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.3728, allocations: 250.9 kB / 0.543 GB, free: 4.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.3736, allocations: 443.5 kB / 0.5434 GB, free: 4.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3736, allocations: 0 / 0.5434 GB, free: 4.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008972/0.3745, allocations: 492.8 kB / 0.5439 GB, free: 3.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3745, allocations: 8.375 kB / 0.5439 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3745, allocations: 4 kB / 0.5439 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3745, allocations: 8 kB / 0.5439 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.3755, allocations: 211.8 kB / 0.5441 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.3804, allocations: 7.314 MB / 0.5513 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.3809, allocations: 71.53 kB / 0.5513 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.381, allocations: 19.98 kB / 0.5513 GB, free: 11.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.3813, allocations: 233.2 kB / 0.5516 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.3814, allocations: 43.72 kB / 0.5516 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3826, allocations: 0.5408 MB / 0.5521 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3826, allocations: 11.98 kB / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3827, allocations: 0 / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3827, allocations: 0 / 0.5521 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.3833, allocations: 429.2 kB / 0.5526 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3833, allocations: 3.938 kB / 0.5526 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/0.3842, allocations: 199.9 kB / 0.5527 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.3842, allocations: 3.984 kB / 0.5528 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.3842, allocations: 12.05 kB / 0.5528 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.3892, allocations: 7.321 MB / 0.5599 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3893, allocations: 0 / 0.5599 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.3901, allocations: 0.5197 MB / 0.5604 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3903, allocations: 124.8 kB / 0.5605 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.3904, allocations: 4 kB / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3906, allocations: 15.98 kB / 0.5606 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.3907, allocations: 23.91 kB / 0.5606 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.3908, allocations: 15.98 kB / 0.5606 GB, free: 1.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.3913, allocations: 391 kB / 0.561 GB, free: 1.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3913, allocations: 0 / 0.561 GB, free: 1.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3918, allocations: 135.8 kB / 0.5611 GB, free: 1.398 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.3932, allocations: 1.09 MB / 0.5622 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.3946, allocations: 0.5202 MB / 0.5627 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.3947, allocations: 8 kB / 0.5627 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3957, allocations: 347.5 kB / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3962, allocations: 93.84 kB / 0.5631 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.4035, allocations: 5.251 MB / 0.5682 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.4041, allocations: 0.901 MB / 0.5691 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.4044, allocations: 128.1 kB / 0.5692 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.4046, allocations: 139.4 kB / 0.5694 GB, free: 8.723 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4047, allocations: 0 / 0.5694 GB, free: 8.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.446, allocations: 13.54 MB / 0.5826 GB, free: 11.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.04, allocations: 8.188 kB / 0.5826 GB, free: 11.45 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1)